Descartes needed to start with a piece of knowledge he couldn’t doubt. He needed to uncover something about reality that would be true even if he was having sensory illusions, even if he was dreaming, even if he was being fooled by an evil demon. He found a candidate: his own existence.