STOP thinking in terms of good and bad and just understand energy balance, appetite, and micronutrients.
There is no reason to put certain foods on pedestals and demonise them and feel guilty if you happen to eat them.
On the other hand, understanding energy balance is important for weight loss. Understand certain foods will fill you up without as much energy (eg plants).
You will be much more successful when you grasp this!