1 Kings 3:8-13

8 1And your servant is in the midst of your people whom you have chosen, a great people, 2too many to be numbered or counted for multitude.
9 3Give your servant therefore an understanding mind 4to govern your people, that I may 5discern between good and evil, for who is able to govern this your great people?"
10 It pleased the Lord that Solomon had asked this.
11 And God said to him, "Because you have asked this, and have not asked for yourself long life or riches or the life of your enemies, but have asked for yourself understanding to discern what is right,
12 behold, 6I now do according to your word. Behold, 7I give you a wise and discerning mind, so that none like you has been before you and none like you shall arise after you.
13 8I give you also what you have not asked, 9both riches and honor, so that no other king shall compare with you, all your days.