You’ve identified a problem that you want to fix (willingness to do effort for yourself versus for others) but you haven’t identified the root cause. This is basically one of the situations that therapy is best equipped to help with. It sounds like maybe a self-worth issue but I’m not a therapist so that’s about as valuable as a lace umbrella.