Arsenal boss Arsene Wenger said it was vital for his side to beat Aston Villa after two "terrible" home defeats.
"We had two massive disappointments and it was important to win," said Wenger.
"It is infectious what happens in the FA Cup and Champions League. To lose big games one after the other was absolutely terrible."
Santi Cazorla's two goals either side of Andreas Weimann's goal for Villa gave Arsenal victory, although it was not a convincing performance from the Gunners - although they moved to within a point of fourth place.
"We went through some difficult times and it was important for us to show we are united, determined and focused to win the game," Wenger told BBC Radio 5 live's Sportsweek.
"We were a bit nervous - I concede that - because we are under a lot of pressure and we had our backs to the wall. We had to win and we did, even when things went against us."
Wenger, who has failed to win any silverware for Arsenal since 2005, insisted before the match that he had not contemplated quitting but he believes the job of managing has become more difficult.
"It is a bit more challenging now," he said. "I don't think it is down to the methods of coaching. training or managing the team. It's just that you multiply the opinions by thousands."