Hitler came at a time when the German people were desperate because of the economic situation, partially caused by the war reparations dictated by the Treaty of Versailles.
He mobilised the nation to work and pushed the blame at the seemingly richer Jews and the desperate people saw some hope in him.