expresses
the enduring human tendency to believe in the possibility of a better future despite difficulties and disappointments. The saying comes from Alexander Pope's An Essay on Man.
Despite repeated failures, he remained optimistic about the future.