Your friend was demanding and unreasonable. You were a complete star throughout, being a loyal friend and being so helpful. It’s time to focus on yourself now. It’s ok to take a step back and recuperate.
I know it’s hard, but it sounds like you don’t need to worry about what people think of you. You are a good person.