Failure and success both can give wisdom. Success takes you above … in skies … Your view ultimately broadens. You see things from above.
Failure may take you closer to your own self. You can better understand your own existence. Failure may take you to the depths. Your view deepens.
Not all people get wisdom though success or failure. Those who can get wisdom, get it from both failures and successes.