Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
LXX

2 Samuel 7:21

And thou hast wrought for thy servant's sake, and according to thy heart thou hast wrought all this greatness, to make it known to thy servant,

Read in other translations