Psalm 132:11 in Acts 2
¡11 (NIV) The LORD swore an oath to David, a sure oath that he will not revoke: "One of your own descendants I will place on your throneÉ"
¡Peter says David knew this in predicting the resurrection of the Messiah.