Jeremiah
1 Kings 3:6BSB·traditional attribution

Solomon replied, “You have shown much loving devotion to Your servant, my father David, because he walked before You in faithfulness, righteousness, and uprightness of heart. And You have maintained this loving devotion by giving him a son to sit on his throne this very 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.