While the saying is often attributed to various authors, poets, and historical figures, there is no concrete evidence to support any particular claim.
It's more likely that the phrase emerged organically from the collective wisdom and experiences of people across generations.