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

Proverbs 17:5

Whoso mocketh the poor reproacheth his Maker: and he that is glad at calamities shall not be unpunished.

Read in other translations