2 Chronicles 1:8
And Solomon said unto God, Thou hast shewed great mercy unto David my father, and hast made me to reign in his stead.
Cross-reference
2 Samuel 7:8 recounts God choosing David from shepherding to be king, the foundation for Solomon's acknowledgment of God's kindness to his father.
2 Samuel 7:8 is the original promise of God's choice of David, which Solomon references when thanking God for making him king.
2 Samuel 12:7 records God anointing David king — the specific kindness Solomon acknowledges here.
2 Samuel 12:8 lists additional blessings God gave David, detailing the kindness Solomon references.
2 Samuel 22:51 declares God's unfailing kindness to David and his descendants — exactly Solomon's claim.
1 Chronicles 28:5 records God choosing Solomon to sit on David's throne — directly confirming Solomon's kingship.
Psalm 89:20-28 details God choosing, anointing, and establishing David's throne — foundation for Solomon's kingship.
In 1 Kings 2:24, Solomon later declares that God has established him on David's throne as promised — echoing his own prayer here.