in einen Sack stecken und draufhauen

Etymology
lit. 'put [all of them] in one sack and hit it', implying that they all deserve the same punishment.

Usage notes

 * Often followed by a sentence such as that after the dash in the above example.