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

Proverbs 17:21

He that begetteth a fool doeth it to his sorrow: and the father of a fool hath no joy.

Read in other translations