Maybe as a third or fourth order effect. If we are serious about them winning the war (whatever that objectively means) and not involving Russia in a never ending quagmire, then we should have given them more capability faster. We've rolled out HIMARS, ATACMS, Storm Shadow/SCALP cruise missiles, Bradleys, Abrams, and now Vipers as we blew past multiple "red lines".
You also have to take into account the Ukrainian's ability and capacity to properly utilize the equipment, and that is a very big factor in our decisions on what and when to give them.
On the other hand, ensuring that our domestic civil society keeps running directly impacts our national security interests and there are plenty of vulnerabilities that could be mitigated with that money here at home. Just one man's opinion.
I was thinking we could start with a couple tangible things like border security, critical infrastructure decay, industrial base revitalization (ships would be a good place to start), and cybersecurity. Once we have those licked, we can move on to the wicked problems like poverty, hunger, and parity in the NFL.
Laws passed and bills proposed within the last 3 years have addressed or attempted to address those exact issues to include the misnamed 'Inflation Reduction Act' and the recent border security bill, among others, that was passed by the Senate of was DOA in the House of Representatives.