I hate my family for not helping me
Why doesn't your family help you?
Because my mother is so stingy! Every time I asked her for some help, she always becomes upset.
It is normal to feel frustrated, family is expected to give each other a hand, but hating them for it is taking this all out of proportion. Talking to them about your expectations might help.
They only treat me right when they need money.
Your family should help you if you need it, but your hatred for them because they are not there for you is not right either. Express your frustration in a calm manner with a third party like a counselor that can help you find ways to communicate with them better.