It is good that you take care of others, and feel happy when they are happy. But at the same time you should be happy for yourself and seek out things that make you happy, this would only happen when you start to prioritize yourself.
You matter and so does your happiness don't depend entirely on others for your sense of self and happiness.