Berean Study Bible (BSB) - Ecclesiastes 7:15 >

In my futile life I have seen both of these: A righteous man perishing in his righteousness, and a wicked man living long in his wickedness.

Jewish Publication Society of America Version (JPS1917) - Ecclesiastes 7:15 >

All things have I seen in the days of my vanity; there is a righteous man that perisheth in his righteousness, and there is a wicked man that prolongeth his life in his evil-doing.