Bread, sugar and potatoes exist on a spectrum from highly processed/refined (truly problematic) to minimally processed whole food versions (nutritionally valuable). There's no reason to give up minimally processed whole food versions of these.
What a bizarre, illogical comment. Did you even read what @throwawaylaptop wrote above? While most of us can handle she carbs just fine, some people have to pretty much eliminate them (regardless of processing level) in order to lose fat.