This is correct, Spain supported the wars in Irak and Afghanistan, both with hundreds of thousands of casualties, most of them civilians.
It's an improvement over paying taxes in US but still a dubious moral choice if you claim concerns over your taxes being spent on wars.