I'm struggling with this right now. I started going to the gym 6 times a week almost a year ago knowing it wouldn't be enough by itself but trying to only make one big lifestyle change at a time. Now my gym habit is well and truly locked in I really need to improve my diet as my next big change. My weight has been basically exactly the same since I started. Lots more muscle mass now but still....
Good luck to everyone trying to make improvements to their health!
Oh I actually did lose like 20kg a few years ago by doing keto but it wasn't sustainable to me so I put it all back on. I guess the lesson for me there is to keep trying until you find a sustainable change you can stick to as a lifestyle, not just temporarily.