The fact that you are having difficulty losing weight despite your best efforts is likely due to the fact that obesity is a complicated condition with many potential causes.
Having a history of obesity in your family can make it more probable that you will also struggle to maintain a healthy weight in your own life.
A sedentary lifestyle combined with a diet that is high in ultra-processed foods, sugar, and fat, all of which contribute to weight gain.
There are a number of factors that further contribute to weight gain, including but not limited to stress,
Issues with mental health (including using medicine to treat specific mental health conditions), insufficient sleep, and hormonal changes.
The fight against obesity can be waged in a variety of different methods, but there is no silver bullet
You might want to give yoga a shot if you're attempting to reduce or keep the same amount of weight you have.