I gave a homeless child a glare because I didn't have any food on me
It was mean to glare at a hungry child.
I know, I was hungry that's why I gave him a glare.
You shouldn't feel contempt for someone due to a situation they have no control over. Compassion is when you relate to someone's situation, and you want to help them.
What? I don't want to help the bum. He was getting on my nerves so I gave him a glare.
You could have just ignored him. There was no reason to glare at him, you should try to be more compassionate towards those that are less fortunate than you.