Jeremiah
1 Kings 3:10ESV·traditional attribution

It pleased the Lord that Solomon had asked this.

Matthew Henry Presbyterian @wholebiblehenry

We have here an account of a gracious visit which God paid to Solomon, and the communion he had with God in it, which put a greater honour upon Solomon than all the wealth and power of his kingdom did. I. The circumstances of this visit, Kg1 3:5. 1. The place.

Commenting on 1 Kings 3:5-15

John Gill Reformed Baptist @doctorgill

And the speech pleased the Lord, that Solomon had asked this thing. Understanding in the affairs of civil government; since he had respect not to his own private benefit and advantage, but the good of the people he governed, and the honour and glory of God, who had set him over them, they being his chosen people, and whose vicegerent he was.

Jamieson-Fausset-Brown Reformed @jfbcommentary

the speech pleased the Lord--It was Solomon's waking prayers that God heard and requited, but the acceptance was signified in this vision.