History proves that those who criticize our deen do so out of two things.
1. They are ignorant.
2. They are themselves morally corrupt and can't stand their nafs getting restricted to divine laws.
Therefore, if they are morally corrupt then it doesn't mean that we don't have the duty to defend our deen from false allegations and play our part in protecting our iman and helping others also in doing so. And if they are genuinely ignorant then also it's our duty to educate them. We are the ones who were responsible to show them the meaning of civilization. Alas! We have ourselves lost the way.