Minor corrections:
The $37.7 billion doesn’t begin until some time in 2023. For that matter, the $40 billion will be far from being spent in 2022.
The aid so far also contains quite a bit of non-military aid to Ukraine (which IMO should at most be provided as a loan [with interest] to the EU which can then aid Ukraine as it sees fit.)
That “33% more” is from last year - Putin has raised Russia’s defense budget for 2023 by 43%. (Estimates of actual expenditures for 2022 vary wildly.)
Deterrence in the 1st place would have been much preferable.