Yep. Note “greater good” is never defined because its definition changes for the “good” of the regime, as its nefarious goals change.
A little bit of humor is the movie “Hot Fuzz”
Everything that happens in the village that has no crime is for “the Greater Good”. Same stars as “Shaun of the Dead”.
I found it very funny.
https://www.imdb.com/title/tt0425112/?ref_=nv_sr_srsg_0