Solomon asks for wisdom

In Gibeon the Lord appeared to Solomon in a dream by night, and God said, Ask what I shall give thee. Solomon said, Thou hast made thy servant king in the room of David my father, and I am but a little child. I know not how to go out or come in. Thy servant is in the midst of thy people, a great people. Give therefore thy servant an understanding heart to judge thy people, that I may discern between good and bad. For who is able to judge this thy so great a people?

The speech pleased the Lord, that Solomon had asked this thing. God said, Because thou hast asked this, and hast not asked for thyself long life, neither hast asked riches, nor the life of thine enemies, but hast asked for thyself understanding to discern judgment, behold, I have done according to thy words. I have given thee a wise and an understanding heart. And I have also given thee that which thou hast not asked, both riches and honour. Solomon awoke, and behold, it was a dream. He came to Jerusalem, and stood before the ark of the covenant of the Lord, and offered burnt offerings and peace offerings, and made a feast to all his servants.
A picture drawn for this reading. It follows the passage. It is not a photograph.
1 Kings 3:9
Remember. Give thy servant an understanding heart to judge thy people.
