Ecclesiastes 7:15-18 Amplified Bible (AMP)

15. I have seen everything in the days of my vanity (my emptiness, falsity, vainglory, and futility): there is a righteous man who perishes in his righteousness, and there is a wicked man who prolongs his life in [spite of] his evildoing.

16. Be not [morbidly exacting and externally] righteous overmuch, neither strive to make yourself [pretentiously appear] overwise–why should you [get puffed up and] destroy yourself [with presumptuous self-sufficiency]?

17. [Although all have sinned] be not wicked overmuch or willfully, neither be foolish–why should you die before your time?

18. It is good that you should take hold of this and from that withdraw not your hand; for he who [reverently] fears and worships God will come forth from them all.

Ecclesiastes 7