Psalm 132:12 in the King James Version
If thy children will keep my covenant and my testimony that I shall teach them, their children shall also sit upon thy throne for evermore.
Context
11 The LORD has sworn to David in truth. He will not turn from it: “I will set the fruit of your body on your throne.
12 If your children will keep my covenant, my testimony that I will teach them, their children also will sit on your throne forever more.”
13 For the LORD has chosen Zion. He has desired it for his habitation.