Why did Hitler kill the disabled and mentally ill?

it was said that a man wanted his disable son putting to sleep to end his life and he asked Hitler for permission to do it and after that Hitler did not want people that did not live to the standard of a pure race to be killed .
this was on a documentary on channel 4