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

Don’t worry about God’s forgiveness. I’d say you should try again at this task, and keep this in mind as you do. If this makes you more compassionate the next time you meet someone like this, then it is a lesson you can carry with you. Most people aren’t born with compassion for people with challenges in life, and some people never gain it. You seem to be taking this to heart, and that is all anyone could expect at this point. Don’t be too hard on yourself about past actions, just work on it going forward.