I can relate to what you said. I used to be that way, I am still to an extent but I can say I have grown more mature now and that's because I realized that even if you kill yourself for some people they still would not appreciate it.
So I choose people I do things for and when they do things to hurt me, I just tell myself that they are human and humans can do and undo.
Being emotional is not a bad thing, just channel the emotions to the right people, people that are worth it and would value and appreciate it 😌