He could have said: I consider Israel an important ally of the United States. However, my primary duty is to uphold and defend the constitution of the United States. If Israel was attacked, my colleagues and I in congress would determine if a declaration of war was warranted in response.
Something similar to what I wrote above beats the hell out of what he said. Israel is not just an ally, it is a puppet master. Have you ever heard any U.S. politician say that any attack on Turkey will be considered an attack on the United Staes? I mean, Turkey is our ally, right?