Arthur Schopenhauer said this quote

Happiness belongs to those who are sufficient unto themselves. For all external sources of happiness and pleasure are by their very nature highly uncertain precarious ephemeral and subject to chance.