Logic is not the source of content; it is only a means by which we may verify the validity of our reasoning. Descartes' argument, "I think therefore I am," represents his effort to find a source of content within the "light of reason" about which he could be certain. However, he recognized that the light of reason is not a source of truth capable of instilling the same degree of certainty as God's revealed truth:
"But above all else we must impress on our memory the overriding rule
that whatever God has revealed to us must be accepted as more certain
than anything else. And although the light of reason may, with the
utmost clarity and evidence, appear to suggest something different, we
must still put our entire faith in divine authority rather than in our
own judgement." (Principles of Philosophy, Part 1, sec.76, AT VIII-1,
39; CSM I, 221)
Not everyone recognizes the Holy Scriptures as a source of absolute truth, but Descartes pointed out that by grace the its divine authority may be revealed to us:
"Now although it is commonly said that faith concerns matters which
are obscure, this refers solely to the thing or subject-matter to
which our faith relates; it does not imply that the formal reason
which leads us to attend to matters of faith is obscure. On the
contrary, this formal reason consists in a certain inner light which
comes from God, and when we are supernaturally illumines by it we are
confident that what is put forward for us to believe has been revealed
by God himself. And it is quite impossible for him to lie, this is
more certain than any natural light, and is often even more evident
because of the light of grace." (AT VII 147/CSM II 105)