Yup, exactly.
The first time I lost my weight I went from 240lbs to 160lbs. It took 2 years to gain it back, but when I started to gain, it only took about 5 months to put it all on, just from not exercising. I wasn't eating properly, but as long as I exercising after eating I would still hold steady, the moment I stopped, I would start gaining.
Now I'm working on losing the weight I had gained again, I reached 230lbs and now, after almost 5 months of crazy working out and insane liquid only diets at some points, I'm 194lbs.
People nowadays look for easy ways to lose weight, and it'll never happen that way.