City are now 15 points adrift of fierce local rivals Manchester United with eight games remaining.
Kompany told Sky Sports: "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.
"In football, ultimately, you always have to have a winner and a loser so I think that we'll learn from what happened there and we'll grow stronger again. We still have a good run in the FA Cup."
He added: "I'm not looking too much. I know it's clichéd, but I think we should focus on our own qualities and just look at every game and say, ok we've got a chance to win this one, so let's do it. That should be our only aim."