1 Kings 3:8-12

ISV(i) 8 Your servant lives in the midst of your people that you have chosen, a great people that is too numerous to be counted. 9 So give your servant an understanding mind to govern your people, so I can discern between good and evil. Otherwise, how will I be able to govern this great people of yours?”
10 The LORD was pleased that Solomon had asked for this, 11 so God told him: “Because you asked for this, and you didn’t ask for a long life for yourself, and you didn’t ask for the lives of your enemies, but instead you’ve asked for discernment so you can understand how to govern, 12 look how I’m going to do precisely what you asked. I’m giving you a wise and discerning mind, so that there will have been no one like you before you and no one will arise after you like you.