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

Sirach 37:4

There is a companion, which rejoiceth in the prosperity of a friend, but in the time of trouble will be against him.

Read in other translations