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

1 Kings 2:4

that the Lord may confirm his word which he spoke, saying, If thy children shall take heed to their way to walk before me in truth with all their heart, [I promise thee], saying, there shall not fail thee a man on the throne of Israel.

Read in other translations