This is great advice for most people, depending on what "whole" means. Am I allowed to cut and cook my vegetables? Stick them in a food processor? Are they still "whole" then? I've never understood why people even bother to throw this word "whole" into anything. You just mean you didn't drink smoothies and concentrated fruit juice?
> cutting out processed foods
This is utterly meaningless bullshit.
> I also did a lot of strength training so as to lose fat and not muscle.
This may be the main reason you lost weight and feel better. If nothing else, it may be the reason you were able to stick to your dietary changes. I think everyone I know who lost a significant amount of weight was into strength training while they did it.