You can’t effectively help others unless you’re in a sound enough state yourself. Instead of devoting as much time as possible to making others happy, let yourself be happy for a change.
Think of it as the flight instructions you get before you take off on a plane. You’re told to put your oxygen mask on before helping others, and there’s good reason for this.
If you fail to put on your oxygen mask in time, you can become afflicted with hypoxia, which can prevent you from being able to help someone else put their mask on.
This same concept applies to self-care. You can’t reliably help others, even if you want to, before you learn how to help yourself.