René Descartes said this quote

The dreams we imagine when we are asleep should not in any way make us doubt the truth of the thoughts we have when we are awake.