yes
those passages refer to the time it was written and the wars they were fighting. educated muslims know this. the problem is the illiterate and brainwashed ones who dont/ this happens in all religions. christians and jews both have groups that are extreme in their views, both have illiterate and poor followers who blindly follow cult like leaders, all claiming to be of the true religion.