I'm thinking of ghosting my unstable friend for 5 years
Why did you ghost your friend for 5 years?
I found some better friends.
If you don't want to be friends with someone anymore you should tell them. It is wrong to ghost people let alone your friends.
What if I really hate them?
If you no longer like them you should tell them how you feel they may want to try to repair the relationship or apologize.