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

Proverbs 18:17

A righteous man accuses himself at the beginning of his speech, but when he has entered upon the attack, the adversary is reproved.

Read in other translations