Jeremiah
1 Kings 3:6ESV·traditional attribution

And Solomon said, “You have shown great and steadfast love to your servant David my father, because he walked before you in faithfulness, in righteousness, and in uprightness of heart toward you. And you have kept for him this great and steadfast love and have given him a son to sit on his throne this day.

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 Solomon said,.... In his dream; not that he dreamt he said, when he did not; but he really said, as follows: thou hast showed unto thy servant David my father great mercy; bestowed many favours and blessings upon him, both temporal and spiritual: according as he walked before thee in truth, and in righteousness, and in uprightness of heart with thee; in the truth...

Jamieson-Fausset-Brown Reformed @jfbcommentary

HE CHOOSES WISDOM. (Kg1 3:6-15) Solomon said--that is, had dreamed that he said.