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

Sirach 21:27

When the ungodly curseth Satan, he curseth his own soul.

Read in other translations