The Citizens look set to relinquish their top-flight crown, with Manchester United a healthy 15 points clear of their derby rivals in the title race.
Roberto Mancini’s men can still look forward to the prospect of next month’s FA Cup semi-final against Chelsea or United at Wembley.
And Kompany, who has been out injured with a calf problem since late January, believes City will learn from their mistakes in the league this term.
“You always want to go for the titles and you always want to go for the top. I’ve experienced it in the same way as every other player. I’ve wanted our team to do well,” Kompany told Sky Sports.
“In football, ultimately, you always have to have a winner and a loser so I think that we’ll learn from what happened and we’ll grow stronger again. We still have a good run in the FA Cup.”
Kompany is expected to feature for Belgium against Macedonia on Tuesday night, and the City captain feels in good shape ahead of the 2014 World Cup qualifier.
“I feel great, I feel really good. I’ve put in some hard work over the eight last weeks and I’m just very happy to be back with the team,” he added.
“Yes it’s frustrating but it’s something you have to deal with as a professional football player.
“I’ve been through a lot worse than this, so for me it was just a case of working really hard and making sure that I was able to be there for the team again.
“My only ambition was to make myself available again for the manager of the national team, for the manager of Manchester City, and I’ve worked really hard.”