It is quite a lot more complex than that. I'd say it is a stretch to argue that Germany was to blame for WW1 (post-WW1 Germany was forced to take the blame but the reality was a lot more complex).
You can then also argue about the context/contribution the harsh treaty of Versailles made to WW2. But to not blame principally Germany/NSDAP/Hitler for WW2 after Germany marched into Poland is pretty absurd.