That was Lebensunwertes Leben
Life unworthy of Life.
The Nazi's got the idea from American Progressives in the early part of the Century.
When the world asked for justification on the Nazi eugenics programs. They cited the Buck v. Bell case in the U.S.
I wrote my College thesis about Buck v. Bell and that was my first experience in learning how EVIL the progressives really are.