Following their shocking 1-1 draw against Switzerland in the first match, the mood in the Brazil camp was low. It would have needed a tremendous performance against Costa Rica to improve the morale, and quieten the detractors.
But for most parts of their second match, it seemed Brazil would be heading for another failure. Despite having a star-studded line-up which consist of Neymar, Garbiel Jesus, Willian and Phillipe Coutinho, the five-time champions were struggling to score.
All the hopes were pinned on Neymar to make the difference in this tournament, and guide Brazil to their first World Cup since 2002. The Paris Saint-Germain man was very ordinary against Switzerland.
He could have been forgiven for that display, given it was his first piece of action since returning from a long-term injury. But his performance against Costa Rica was even worse.
It seemed Neymar was not playing for his nation, but for himself. Every time he had the ball, he tried to go solo, or get a goal for himself. The selfishness he showed during the match did not go well with his fans. What was worse? His blatant dive in the 78th minute, which drew wide criticism from social media.
While Neymar was poor, the players around him were no better. Jesus had a sensational first season with Manchester City, but was a shadow of himself. And the same can be said for Willian, who has been failing to make an impact in both the matches.
For 90 minutes, it seemed Brazil would be heading for another draw, and put their future at the 2018 World Cup in doubt. In the first match, Coutinho's brilliance got his team the goal.
And just like the last match, up stepped Coutinho against Costa Rica in the stoppage time, and scored the all important goal for them.
After that strike, their opponents broke forward, and left space at the back. And it was brilliantly exploited by Douglas Costa, who put the ball in plate for Neymar to double his team's lead.
The match ended 2-0 in Brazil's favor, but it was a very ordinary display from them and their star man Neymar. But for the second game in a row, they needed the divine intervention of Coutinho