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

Proverbs 24:17

If thine enemy should fall, rejoice not over him, neither be elated at his overthrow.

Read in other translations