I doubt the way Descartes applies the illusion argument, the dream argument, and the evil genius argument known as the "way of doubt" to achieve his goal: the mind and body are two different substances, It is a perfect separation of the psychological world and the physical world. Once he insisted that he was always awake or sleeping, three in two were always five. Even if a genius of evil has let us down, we may think that 2 plus 3 is 4, but in reality it always has 5, that is always the case. Let's see an example. If I think there are lots of sun outside, I may be wrong with the sun, but I think that it should be sunny and not mistaken.
Descartes is trying to create a solid foundation for new science with a skeptical approach. This method should be based on unquestioned things. When Descartes took a skeptical approach, he doubted everything he got from his senses. The strategy adopted by Descartes is to hide his thoughts from things that are completely sure and doubtful. He decided that he should not cheat his existence. If he does not exist, he will not think; therefore, if he is thinking, he must exist. This is the sum of Cogito's ergo, "I think I am". For the first consideration, and for Descartes this is the highest priority. "The heart is better known than the body," Descartes not only proves that his existence is the substance, mind of thinking, but also believes that the body becomes a foreign matter to worry about later.
Descartes used his doubt to attack the principles that support everything he believes. The way of doubt is Descartes' basic question method and he doubts there is something there is no reason to doubt. Please think about that. Almost everything you think is true comes from a sense. However, senses sometimes deceive. It is unreasonable to completely trust them because the senses are not completely reliable. But if we assume that our senses are all wrong to us, this is a small belief. In fact, it seems absurd to say such a thing. Still, as Descartes pointed out, we often have the dream that everything we experience is a fiction of our imagination, or at least not a physical one. Therefore it is reasonable to temporarily doubt that our senses convey everything to us.