Whether in that context or not (and it was) his statement make him literally eligible for a straight jacket.
If you look at the video of the debate, you will see the context. He was first speaking about what he considers the danger and foolishness of declaring war on Muslims in general (all Muslims) and then he made the point that he has made many times before - that the radicals hate us because we're over there, in the Middle East, bombing them. He was speaking in general, he was not speaking about Iran when he said that.
Here's the video, watch it for yourself.
It's ok if you disagree, but at least be honest! Sheesh.