Heather Cox Richardson is the first I saw to raise awareness about Noem/DOJ using a logo of collective punishment at a presser after the Good shooting.
People are widely attributing the phrase to the Nazis, but I dislike sloppiness of crying Nazi Germany too quickly. On a quick first search, as far as I can tell the concept of collective punishment (rather than this exact phrase) is associated with Nazis and other fascists but also more generally with war crimes (see the Geneva Convention) in the 20th century (and throughout history).
The Intolerable Acts in pre-Revolutionary Massachusetts were intolerable in large part because they were collective punishment for the Boston Tea Party — the British attempt to punish that colony and strike fear in other colonies/colonists backfired spectacularly against the Brits and was one of the final fuses that lit the start of the American Revolution.
The response to WWI was considered to have led to WWII for a lot of reasons, but Hitler weaponized the collective punishment of Germany in the treaty terms to great effect. But in the 20th Century, Spanish Fascists, Nazi Germany and the Soviets were prolific and brutal users of violent collective torture and murder.
In any event, it has a long history of use prior to the 20th century (see accounts from virtually any European colony) and a shorter but material history of backfiring.