You are absolutely right, failure is what brings about success but sometimes those who become successful after few failures end up not valuing the success they've achieved.
They tend to put in just little effort because they think they're now better than most people but that's how they will end up going to the start or remaining stagnant.