You are allowed to walk away from any relationship that's dangerous to your mental health.
No matter how long you've known them or how much you've loved them.
Maturity is when you stop complaining and making excuses in your life; you realize everything that happens in life is a result of the previous choice you've made and start making new choices to change your life.