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

Ecclesiastes 7:9

Be not hasty in thy spirit to be angry: for anger resteth in the bosom of fools.

Read in other translations