Sometimes a war is justified, and coming to the aid of an ally getting invaded is a damn good justification.

Especially if that ally is simply asking for more hardware and not asking for feet on the ground.