I believe it was purely for reasons of expansion. I don’t know exactly what our response should have been, but we need to at least acknowledge that Ukraine is defending their sovereignty and Putin/Russia are the aggressors. We should support them at least minimally.
Expansion is a perfectly valid reason to go to war historically.