World War II allowed the Nazis to put their racist beliefs into place on a mass scale with the elimination of Jews and others considered pests to the master race.
The American experience
The theory of "racial hygiene" was not a Nazi invention, however.
In fact, it was practiced in the United States, where 16,000 sterilizations took place from 1907 to 1933, half of them in California.
I recommend reading the whole article.