Should study that history.
The Treaty of Versailles established the conditions of peace with Germany and the major sanctions imposed by the treaty included the disarmament of Germany, payment of very large reparations to the allies, and demilitarization of the Rhineland.
The war debt was crushing, hyperinflation was rampant, and people were desperate. Then Hitler came along...
https://www.history.com/news/germany-world-war-i-debt-treaty-versailles