5 In Gibeon the Lord appeared to Solomon in a dream at night; and God said, "Ask [Me] what I shall give you."
6 Then Solomon said, "You have shown Your servant David my father great lovingkindness, because he walked before You in faithfulness and righteousness and with uprightness of heart toward You; and You have kept for him this great lovingkindness, in that You have given him a son to sit on his throne, as it is today. 7 So now, O Lord my God, You have made Your servant king in place of David my father; and as for me, I am but a little boy [in wisdom and experience]; I do not know how to go out or come in [that is, how to conduct business as a king]. 8 Your servant is among Your people whom You have chosen, a great people who are too many to be numbered or counted. 9 So give Your servant an understanding mind and a hearing heart [with which] to judge Your people, so that I may discern between good and evil. For who is able to judge and rule this great people of Yours?" [James 1:5]
10 Now it pleased the Lord that Solomon had asked this thing. 11 God said to him, "Because you have asked this and have not asked for yourself a long life nor for wealth, nor for the lives of your enemies, but have asked for yourself understanding to recognize justice, 12 behold, I have done as you asked. I have given you a wise and discerning heart (mind), so that no one before you was your equal, nor shall anyone equal to you arise after you.