Arthur Schopenhauer said this quote

Life presents itself as a continual deception, in small matters as well as in great. If it has promised, it does not keep its word, unless to show how little desirable the desired object was; hence we are deluded now by hope, now by what was hoped for. If it has given, it did so in order to take. The enchantment of distance shows us paradises that vanish like optical illusions, when we have allowed ourselves to be fooled by them. Accordingly, happiness lies always in the future, or else in the past, and the present may be compared to a small dark cloud driven by the wind over the sunny plain; in front of and behind the cloud everything is bright, only it itself always casts a shadow. Consequently, the present is always inadequate, but the future is uncertain, and the past irrecoverable.