A recent guest (historian) made that point on the Triggernomitry podcast.
Stalin, Mao, Castro, Hitler- they were all 'idealists.'
They were in it to improve the human (or some subset thereof) condition. And they weren't going to let anyone get in their way of making things better!