Actually, we were attacked by by the people running a foreign country. Attacking Afganistan was not preemptive. It was in response to an attack.
Attacking Iraq was preemptive. The Bush Doctrine changed decades of policy.
I don’t really care if we have to strike first or not. It’s best not to have threats that need responding to, but that is not reality.