Lately I've been wishing that my sister had died.
Why would you wish that upon your sister?
Because she does nothing good in my life.
It's wrong to want another person to die, and especially so if it is a family member since you are expected to protect and support one another. Rather than wish death on your sister, try working on your relationship with her and identity the reasons why you wish ill on her. If you resolve the issues that have come up between you and your sister you will have a closer and more fulfilling family relationship.
But she hates me and it's good that she dies.
You're going about this all the wrong way. You need to try to fix these issues you're having with your sister, family counseling could help with that. Having the thoughts that you have about your sister is really immoral.