1 Kings 3:1-14
1 Solomon made affinity with Pharaoh king of Egypt, and took Pharaoh's daughter, and brought her into the city of David, until he had made an end of building his own house, and the house of Yahweh, and the wall of Jerusalem round about.
2 Only the people sacrificed in the high places, because there was no house built for the name of Yahweh until those days.
3 Solomon loved Yahweh, walking in the statutes of David his father: only he sacrificed and burnt incense in the high places.
4 The king went to Gibeon to sacrifice there; for that was the great high place: a thousand burnt offerings did Solomon offer on that altar.
5 In Gibeon Yahweh appeared to Solomon in a dream by night; and God said, Ask what I shall give you.
6 Solomon said, You have shown to your servant David my father great loving kindness, according as he walked before you in truth, and in righteousness, and in uprightness of heart with you; and you have kept for him this great loving kindness, that you have given him a son to sit on his throne, as it is this day.
7 Now, Yahweh my God, you have made your servant king instead of David my father: and I am but a little child; I don't know how to go out or come in.
8 Your servant is in the midst of your people which you have chosen, a great people, that can't be numbered nor counted for multitude.
9 Give your servant therefore an understanding heart to judge your people, that I may discern between good and evil; for who is able to judge this your great people?
10 The speech pleased the Lord, that Solomon had asked this thing.
11 God said to him, Because you have asked this thing, and have not asked for yourself long life, neither have asked riches for yourself, nor have asked the life of your enemies, but have asked for yourself understanding to discern justice;
12 behold, I have done according to your word: behold, I have given you a wise and an understanding heart; so that there has been none like you before you, neither after you shall any arise like you.
13 I have also given you that which you have not asked, both riches and honor, so that there shall not be any among the kings like you, all your days.
14 If you will walk in my ways, to keep my statutes and my commandments, as your father David did walk, then I will lengthen your days.