Assaulting a built up area while trying to identify and neutralize only belligerent combatants requires intricate planning and execution. If you aren’t willing to take the time required for this you might as will use artillery to reduce the buildings and at least minimize friendly casualties. It’s horrible math, but…