He probably did the whole fight the good fight just so that he knows he did something good with his life and maybe to help him believe that he will get back in God's good graces.
I think in the film when he was talking to an angel that he asked if he would be forgiven by God (just as he meets the cop, i think?).