I feel like I'm a bad person.
Do you think you're bad because you don't help other people?
I sometimes help others, but first helping myself is more important.
The fact that you are willing to help people at some point proves that you are not a bad person. You should see if there are small ways to make you feel like a better person.
I want to make myself feel good by allowing people to not be as good as I am. That's the only way that I can feel that I am better than them emotionally.
You don't need to compare yourself to others to decide if you're good, as that has just made you wish others were bad. Instead, you should just always try to do what's right, and sometimes that will mean putting yourself first.