Not sure if you're aware of this, but cleaning is part of any branch of the military's soldier's duty as a soldier.
I GUARANTEE YOU that they're glad to not be cleaning the latrine or bunks for the hundredth time, instead being out and cleaning up the city.
You seem to have missed the part...
As Bob Enyart used to say (paraphrased, don't remember his exact quote) :
"You can't make it so that people can't commit crimes. You have to make it so that people WON'T commit crimes."