Nothing wrong with salty fatty stuff. I lost 15 kg eating lashings of cheese, which is 35 - 40% fat.
OTOH, I avoided sugar, processed food, and high carbohydrate vegetables and grains, which all hydrolyze in the stomach to sugars.
When I did that, my liver commenced burning fat instead of sugar, hence the weight loss.