Do you consider all the great scientists who helped the US military during WWII evil? Would you have preferred they sat on the sideline for moral reasons and allowed Germany to win?
There’s a vaguesly worded Authorization of Use of Military Force, I think, from post 9/11, but, last I checked the US hasn’t declared war on anyone.