"Every failure brings with it the seed of an equivalent advantage." - Napoleon Hill #TGR
Not automatically, of course, just as what doesn't kill you doesn't automatically make you stronger, but if you are creative enough it is possible to turn a disadvantage into an advantage.