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

Sirach 11:27

The affliction of an hour maketh a man forget pleasure: and in his end his deeds shall be discovered.

Read in other translations