Germany lost the war due to strategic erratic decisions taken by it. Germany began a brutal attack in order to make France forcefully surrender and capture Paris. It simultaneously desired to move the troops around the British army in order to outmaneuver it but unfortunately, the German troops went afar from the food supply which was a strategic error.
The entry of powerful American, Australian Canadian troops forced German allies to surrender and it isolated Germany. This created apprehension in Germany and there was a brutal war which devastated both people and property.
Treaty of Versailles was loathed by Germans which asked Germany to bear the blame of war damages and pay huge compensation for restitution after the war. This made Germany to forcefully surrender.