Would it be alright if I snapped at my friend because he accused me of having an easy life?
Do you really think it's worth snapping at your friend over that?
I do, because I want to push them away.
It wasn't nice of your friend to talk to you like that, but snapping at him isn't a good reaction. When you snap at people, you come across as emotionally immature. Try to talk calmly to people when you're upset and they're more likely to listen.
I will.
I'm glad that you are going to talk things over with your friend. You'll both learn a lot about each other if you're willing to keep an open conversation with your friends.