An idea from Groundwork of the Metaphysics of Morals
Picture trying with everything you have while bad luck blocks every result. Your will has lost nothing. Like a jewel, “it would still shine by its own light, as a thing which has its whole value in itself.” Whether it succeeds doesn’t change its worth.