Before the WWII totalitarian dictators came to power in Germany, Italy and Soviet Union. They promised people prosperity and glory what was people yearning for. A typical example is Adolf Hitler's restoration of German military to begin invasions. He promised to restore Germany's broken international status after the WWI.
The leader had very strong very idealistic ideas and the people following them believe that they could achieve a perfect world Also people were scared and nervous so when a strong leader spoke everyone just naturally followed