expresses the traditional view that
courage makes a person worthy of romantic admiration. The line comes from John Dryden's Alexander's Feast (1697), where the fair refers to a beautiful woman. It may also be applied more broadly to the rewards of courage.
When if you want to succeed, you should be courageous, brave and unafraid of failure., the saying “None but the brave deserve the fair” is appropriate.