City currently sit fifth in the Premier League table, putting their qualification hopes in serious jeopardy.
Guardiola, who has won 18 trophies in his nine years at the club, suffered an unprecedented setback this season, failing to reach the Champions League last 16 for the first time in his managerial career.
With European glory out of reach, City's only remaining targets are a top-four finish and the FA Cup.
Despite the struggles, Guardiola remains optimistic, believing the challenges will ultimately benefit both himself and his players.
"In the good moments, always you learn," said Guardiola.
"In the bad moments as well, we learn. Sometimes the experiences can happen many, many times and, if you don't learn, you have the problems again and again. Of course, of course, it's a good lesson for me, personally
"I learned a lot - and hopefully for the club as well. When I said in the past - and the people said 'Ah, Pep is naive' - that qualification for the Champions League is a huge success, the people didn't believe me. Now they believe me."