5 In Gibeon the LORD appeared to Solomon in a dream by night: and God said, Ask what I shall give you.
6 And Solomon said, You have showed unto your servant David my father great mercy, 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 kindness, that you have given him a son to sit on his throne, as it is this day.
7 And now, O LORD my God, you have made your servant king instead of David my father: and I am but a little child: I know not how to go out or come in.
8 And your servant is in the midst of your people which you have chosen, a great people, that cannot be numbered nor counted for multitude.
9 Give therefore your servant an understanding heart to judge your people, that I may discern between good and bad: for who is able to judge this your so great a people?
10 And the speech pleased the LORD, that Solomon had asked this thing.
11 And God said unto 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 yours enemies; but have asked for yourself understanding to discern judgment;
12 Behold, I have done according to your words: lo, I have given you a wise and an understanding heart; so that there was none like you before you, neither after you shall any arise like unto you.