I cannot agree more based on evidence of myself and my wife who do weight training. Now only if losing weight was as simple as gaining strength...it only takes discipline multiplied by weeks and months!
Losing weight is honestly just about developing good habits and being aware of what you eat. Over the past year I've lost 65 lbs calorie counting on an IIFYM-style diet, while lifting. Once the routine is established and you have a go-to set of foods you can hit, it becomes pretty easy.
The big thing for me was not having off-limits foods. If I want pizza, I'll have pizza, but I log it and adjust my intake for the rest of the day to get those macros balanced. This kills the "I want it because I can't have it" temptations and has the effect of pushing me towards more naturally-healthy foods, because I can have 2 gigantic chicken breast instead of a piece of pizza, and I know which one is going to satisfy me more.