[citation needed]
Yes, Kant wrote books called "Critique of pure reason" and "Critique of practical reason", but they were not attacking reason.
You needn't take my word for it. Here is an excerpt from the article on Kant in the Stanford Encyclopedia of Philosophy (which is online but written by experts and very good indeed):
"Kant's main goal is to show that a critique of reason by reason itself, unaided and unrestrained by traditional authorities, establishes a secure and consistent basis for both Newtonian science and traditional morality and religion. In other words, free rational inquiry adequately supports all of these essential human interests and shows them to be mutually consistent. So reason deserves the sovereignty attributed to it by the Enlightenment."
"Famously attacked reason", forsooth!