Solomon gave orders to build a temple for the Name of the LORD and a royal palace for himself.