Manchester City manager Pep Guardiola said his side were tired but they had a great mentality to secure a crucial win at Everton.