1 Chronicles 28
If this was in the immediate run up to Solomon being made king, then David was as feeble as it might seem from reading Kings.
28.9 the Lord who searches all hearts and understands every plan and thought... A good verse about the fear of the Lord.
28.20 He will not leave you nor forsake you, until... Now that is an interesting twist on Hebrews 13.5. I am thinking about whether this is a general principle or a prophetic insight into Solomon's later turn from the Lord.