1 Kings 3:7-12
English Standard Version
Chapter 3
7And now, O Lord my God, you have made your servant king in place of David my father, although I am but a little child. I do not know how to go out or come in. 8And your servant is in the midst of your people whom you have chosen, a great people, too many to be numbered or counted for multitude. 9Give your servant therefore an understanding mind to govern your people, that I may discern between good and evil, for who is able to govern this your great people?"
10It pleased the Lord that Solomon had asked this.
11And 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,
12behold, I now do according to your word. Behold, I give you a wise and discerning mind, so that none like you has been before you and none like you shall arise after you.