1 Now Solomon made a treaty with Pharaoh king of Egypt, and married Pharaoh’s daughter; then he brought her to the City of David until he had finished building his own house, and the house of the Lord, and the wall all around Jerusalem.
2 Meanwhile the people sacrificed at the high places, because there was no house built for the name of the Lord until those days.
3 And Solomon loved the Lord, walking in the statutes of his father David, except that he sacrificed and burned incense at the high places.
4 Now the king went to Gibeon to sacrifice there, for that was the great high place: Solomon offered a thousand burnt offerings on that altar.
5 At Gibeon the Lord appeared to Solomon in a dream by night; and God said, “Ask! What shall I give you?”