Kālidāsa said this quote

Yesterday is but a dream,Tomorrow is only a vision. But today well lived makes every yesterday a dream of happiness, and every tomorrow a vision of hope.