I would work on making friends with yourself and forgiving yourself. No one is perfect and when you were most ill you needed to do what you did for your own health just as you have recognized that your parents, etc. did what they did as a result of their illnesses? If you understand them a bit better and do not feel as bad about their actions toward you, you need to respond the same way to yourself. You are not more or less deserving than they are.
Maybe this can help?
How To Forgive Yourself No Matter What | Prevention