In the history of the world cup, Germany has rarely consistently played well to win but has always been able to make it through the qualifying rounds.
I think that's because Germany has a good mentality like most of the countries on the European continent. Logically, the German line-up is superior to Spain.
Normaly yes they have played well and good in the past , but there was a few times specialy in 2018 when they failed hard in the Group stage.
They can and they have showed that they can playing better and that they can beat every team but sometimes germany is playing weird.
And indeed they have to show some mentality in the next game.