Ecclesiastes 7:15-18 World English Bible (WEB)
15 All this have I seen in my days of vanity: there is a righteous man who perishes in his righteousness, and there is a wicked man who lives long in his evildoing. 16 Don’t be overly righteous, neither make yourself overly wise. Why should you destroy yourself? 17 Don’t be too wicked, neither be foolish. Why should you die before your time? 18 It is good that you should take hold of this. Yes, also from that don’t withdraw your hand; for he who fears God will come out of them all.
Ecclesiastes 7:15-18 New International Version (NIV)
15 In this meaningless life of mine I have seen both of these:
the righteous perishing in their righteousness,