Manchester City coach Pep Guardiola claims his side needed to lose so that they can focus on their match against Manchester United in the Premier League on the weekend.
Their 227-day unbeaten run was ended on the night and the side was uncharacteristically sloppy as Shakhtar capitalized.
In the wake of the loss Guardiola was determined to put a brave face on their first defeat, insisting it could prove to be a positive for his players.
“When I felt we needed to lose, it was for the players and for the club because in the media people say things when you win and you can forget things,” said the City boss.
“We came here when our job was done in the Champions League. Now we are going to see how we react on Sunday. But I saw how we reacted after we went 2-0 down here and we passed it well.
“The world will not finish on Sunday no matter happens and now we will prepare for that game.”
Shakhtar knew a draw would be enough to send them into the knockout rounds, regardless of Napoli’s result at Feyenoord, but they took the lead after 25 minutes, Bernard beating Danilo and bending a fine shot beyond Ederson after Marlos did superbly to create space.
Right-back Danilo was at fault again six minutes later when Shakhtar extended their lead, a ball over the top from Marlos sending Ismaily clear and, when Ederson raced out of his box without getting the ball, his finish into the gaping goal was straightforward.