Nazi Germany's inspiration was seeing the 'liberal democratic' world's response to this.
The only reason they didn't get away with it even though according to western 'liberal' world it is okay to do that to your own citizens is because Germany tried to implement the model in other countries.
And where did the Romans get it from? Egypt? I guess it couldn’t have been China, because they were also doing their own version of this several thousand miles away.
The Nazis praised the US's "scientific" approach to racism and eugenics.
Measuring people's heads; IQ tests served in a person's non-native language and relied on specific knowledge of American culture; Plain old racist rhetoric like calling people "dangerous", "criminals" with no evidence. (Sound familiar?)
Anything to prove that black and foreign people were inferior and should be exploited, in a classic "we know the answer and we must cherry pick the data to reach that conclusion".
A lot of these tools were taken up by the Nazis for their persecution of Jews, and now they're coming right back around.
The British
Yup - off the top of my head
https://en.m.wikipedia.org/wiki/Great_Famine_(Ireland)
https://en.m.wikipedia.org/wiki/Timeline_of_major_famines_in_India_during_British_rule
https://en.m.wikipedia.org/wiki/1899_famine_in_central_Kenya
And also: https://en.m.wikipedia.org/wiki/Thomas_Robert_Malthus