Yelled at a Rude Homeless Man in Church. Was I wrong?

I agree this can be about showing compassion, not just asking for forgiveness.