Job 22:3 in the King James Version
Is it any pleasure to the Almighty, that thou art righteous? or is it gain to him, that thou makest thy ways perfect?
Context
2 “Can a man be profitable to God? Surely he who is wise is profitable to himself.
3 Is it any pleasure to the Almighty that you are righteous? Or does it benefit him that you make your ways perfect?
4 Is it for your piety that he reproves you, that he enters with you into judgment?