It doesn't protect you from covid.
It's not a bad idea to lose excess weight, but it's a weird response, it takes months to lose weight and ~1 hour to get a shot. I got my booster in about 10 minutes because they offered it to me at a scheduled appointment.