History is littered with these examples. We're seeing it happen in Israel/Palestine as we speak. It's not like the US spent all our money on the military and became a chill, benevolent international partner.
Remember that the war started in 2014, not 2022.
I know that there were relatively minor attacks on Ukraine before.
"It was published on Kremlin.ru shortly after the end of the first of two buildups of Russian forces preceding the full-scale invasion of Ukraine in February 2022."
If you think Biden's behavior encourages Putin's aggression, then surely you think Trump's is worse?
"You didn’t pay? You’re delinquent?” Trump recounted saying. “No I would not protect you. In fact, I would encourage them [Russia] to do whatever the hell they want."
[0] https://en.wikipedia.org/wiki/On_the_Historical_Unity_of_Rus...
We had no wars under Trump. Plenty of wars under Biden.
As for Trump's quote, expecting allies to pay the share they agreed to is not weakness, it's strength. And they paid.
If you and I were buddies in combat, that doesn't mean I carry you on my back. It means we watch each other's back. And if either of us didn't, we wouldn't be buddies anymore.
Remember Gaddafi and Reagan? Gadaffi FAFO. Reagan fixed his wagon and there was lasting peace with Gaddafi after that.
That being said, he wasn't single minded either (e.g. he also mostly followed Chinese principles of not being overly interventionist, unlike the US), and his views did seem to gradually change over time.
But he also said things like: "We have a very large territory and a big population. Atomic bombs could not kill all of us."
Repeatedly.
===
Nazi Germany and Japan weren't deterred at all by military strength either, I don't think? Again ideology overrode every other consideration with WW2? So I'm not sure if "deterrence" really helps prevent major conflicts at all...
Oh, yes they were! Hitler thought the Soviet Army was rotten from top to bottom, thought the British were weak and could be defeated by the Luftwaffe, and thought the US would never fight.
He was right on all three counts, but the Soviets, British, and the US turned themselves into powerhouses.
The Japanese were afraid of the US, and thought they could get the US to stay on the sidelines by knockout out the carriers in Pearl. How wrong they were.