Solomon became the son-in-law of Pharaoh, king of Egypt, and took Pharaoh's daughter as his wife, keeping her in the town of David, till the house he was building for himself, and the house of the Lord and the wall round Jerusalem, were complete.
But all this time the people were making their offerings in the high places, because no house had been put up to the name of the Lord till those days.
And Solomon, in his love for the Lord, kept the laws of David his father; but he made offerings and let them go up in smoke on the high places.
And the king went to Gibeon to make an offering there, because that was the chief high place: it was Solomon's way to make a thousand burned offerings on that altar.
In Gibeon, Solomon had a vision of the Lord in a dream by night; and God said to him, Say what I am to give you.
And Solomon said, Great was your mercy to David my father, as his life before you was true and upright and his heart was true to you; and you have kept for him this greatest mercy, a son to take his place this day.
And now, O Lord my God, you have made your servant king in the place of David my father; and I am only a young boy, with no knowledge of how to go out or come in.
And your servant has round him the people of your selection, a people so great that they may not be numbered, and no account of them may be given.
Give your servant, then, a wise heart for judging your people, able to see what is good and what evil; for who is able to be the judge of this great people?
Now these words and Solomon's request were pleasing to the Lord.