Let him do a good turn to someone else - go to church now and then, be decent, be respectable. That is how you are right with God. Your confidence should be that, though you are not as good as some, you are not as bad as most. You are better than the majority of people. If you base your confidence before God in that, you are wearing fig leaves.
Fig leaves dry up and are burnt up.
Not your decency, not your respectability, and not your good life. None of these can make you right with God in themselves. Your works cannot and do not wash away so much as one sin that you have committed. So fig leaves are a false answer. I've tried to be good.