Brazil managed a 1-0 friendly victory over Germany to earn a measure of closure after their humiliating defeat at the 2014 World Cup.
The two world footballing powers were meeting for the first time since Germany embarrassed Brazil 7-1 in the semifinals at home nearly four years ago.
But Brazil's defense was stauncher in Munich on Tuesday and Gabriel Jesus' lone goal proved to be the difference. Willian sent a curling cross into the Manchester City forward, whose powerful header was straight at Germany goalkeeper Kevin Trapp but looped up and over the line.
The defeat ended Germany's 22-game unbeaten streak, which came one game short from matching their record of 23 from 1978-81. Brazil also halted another Germany 22-game unbeaten run in 1998.
Instead, it was Brazil's chief rivals Argentina's turn to suffer a lopsided defeat, as they matched their worst-ever result with a 6-1 loss to Spain, who got a hat trick from Isco.
Diego Costa opened the scoring for the hosts on 12 minutes, pouncing on a Marco Asensio through ball and bundling home from close range past goalkeeper Sergio Romero, who was injured and had to leave the game soon after.
Spain would be two up 15 minutes later, when Isco calmly slotted home from 12 yards away on a goal also assisted by Asensio. Nicolas Otamendi then halved the deficit before the break, beating David De Gea in the Spain goal with a pinpoint header following a corner kick.
But Isco restored Spain's two-goal advantage soon after the break tucking away past Romero from a Iago Aspas assist following a counter-attack and Thiago would make it 4-1 minutes later, firing in a first-time shot to effectively put the match to bed 10 minutes into the second half.
And substitute Aspas would pile on Argentina's woe, chasing down a De Gea goal kick and slotting home for Spain's fifth before setting Isco up to complete his hat trick and the rout.
Paul Pogba scored a fine free kick and Kylian Mbappe netted twice as France beat World Cup hosts Russia 3-1 in a friendly on Tuesday.
Pogba has fallen out of favour under Manchester United boss Jose Mourinho and has been linked with a move away this summer, but he was in excellent shape for France, scoring once and setting up Les Bleus' opener.
Mbappe scored the opener in the 40th minute, leaving defender Roman Neustaedter stranded before shooting calmly past Andrei Lunyov in the Russian goal. Pogba curled a free kick over the wall and into the bottom corner for France's second five minutes after the break.
Russia hit back in the 68th minute when Fyodor Smolov tapped home a deep cross from substitute right-back Igor Smolnikov but Mbappe scored again 15 minutes later to illustrate the gulf between the teams.
Italy held England to a 1-1 draw after VAR awarded the visitors a late penalty at Wembley.
Jamie Vardy's 27th-minute strike looked like it would separate the two teams, with England also looking to claim a record-equalling sixth clean sheet in a row.
But they were denied four minutes from time when debutant James Tarkowski was adjudged to have fouled Federico Chiesa in the area. Originally the penalty was not given but referee Deniz Aytekin consulted VAR and the spot kick was awarded. Lorenzo Insigne stepped up to smash the ball past Jack Butland.
Romelu Lukaku scored twice in the first half to match the Belgium all-time goals record in a 4-0 win over Saudi Arabia.
Lukaku put Belgium 2-0 up within the opening 39 minutes and then added an assist to let Kevin De Bruyne score the final goal in the 79th minute, one minute after Michy Batshuayi netted the third.
Lukaku, who had a hat trick of international goals ruled out early in his career after Belgium made too many substitutes in a game, has now officially matched Bernard Voorhoof and Paul van Himst's 30 goals for his country.
Six different players found the net as Switzerland demolished fellow World Cup qualifiers Panama 6-0.
Blerim Dzemaili opened the scoring in the 22nd minute, Granit Xhaka converted a penalty nine minutes later and Breel Embolo and Steven Zuber also added first-half goals before Josip Drmic and Fabian Frei heaped in more after the break.
Panama's fellow CONCACAF qualifiers Costa Rica also suffered a defeat, 1-0 to Tunisia thanks to Wahbi Khazri's 36th-minute strike.
Japan's preparations took another knock as they lost to Ukraine 2-1. Japan have won only two of their last seven games and rarely looked capable of beating a Ukrainian team who didn't qualify for the World Cup.
In a near-empty stadium in Belgium, Yaroslav Rakitskiy put Ukraine ahead in the 21st minute with a powerful shot from outside the area that took a deflection off Japan defender Naomichi Ueda.
Japan equalised in the 41st minute when Tomoaki Makino scored with a header from a free kick, but Oleksander Karavaev scored the winner in the 69th with his first international goal.
Mohamed Salah remained on the bench as Egypt fell 1-0 to Greece, who got a 29th-minute headed goal from Nikolaos Karelis to earn the victory.
Greece nearly had a second goal from an audacious Kostas Stafylidis volley from the side of the 18-yard box, but it was controversially ruled out for offside.
Serbia got the better of Nigeria 2-0 as Aleksandar Mitrovic scored twice.
Sardar Azmoun and Mehdi Taromi both scored in the opening 20 minutes as Iran earned a 2-1 win over Algeria, while Ivory Coast held off Moldova by the same scoreline after first-half goals from Roger Assale and Nicolas Pepe.
Sweden could have used striker Zlatan Ibrahimovic as they were shut out in a 1-0 defeat to Romania.
Austria eased to a 4-0 win over Luxembourg with goals from Marko Arnautovic, Florian Grillitsch, Michael Gregoritsch and Louis Schaub.
Matthew Phillips scored three minutes after half-time to give Scotland a 1-0 victory over Hungary.
Colombia and Australia played out a goalless draw, as did Denmark and Chile as well as Senegal and Bosnia-Herzegoniva.