Seneca said this quote

Count your years and you'll be ashamed to be wanting and working for exactly the same things as you wanted when you were a boy. Of this one thing make sure against your dying day - that your faults die before you do. Have done with those unsettled pleasures, which cost one dear - they do one harm after they're past and gone, not merely when they're in prospect. Even when they're over, pleasures of a depraved nature are apt to carry feelings of dissatisfaction, in the same way as a criminal's anxiety doesn't end with the commission of the crime, even if it's undetected at the time. Such pleasures are insubstantial and unreliable; even if they don't do one any harm, they're fleeting in character. Look around for some enduring good instead. And nothing answers this description except what the spirit discovers for itself within itself. A good character is the only guarantee of everlasting, carefree happiness. Even if some obstacle to this comes on the scene, its appearance is only to be compared to that of clouds which drift in front of the sun without ever defeating its light.