The current US involvement in Ukraine is being played out exactly like JFK's Cuban Missile "Crisis" in 1962. For those who don't remember, Russia (aka USSR) wanted US missiles removed from Turkey, so it started sending missiles to Cuba. Premier Krushchev correctly sized up JFK as a lightweight President who would fold under pressure, so he made him agree to a secret deal to remove the missiles from Turkey. In return, JFK got to pretend he was a tough guy by getting the Russians to remove their missiles from Cuba.
In the current situation, Russia has invaded Ukraine in order to prevent it from joining NATO. Like JFK, President Biden is getting to pretend he is a tough guy before he makes a secret deal with Putin to never allow Ukraine into NATO (and other concessions). In both cases, US Presidents will have traded their country's long-term strategic interests for their own political gains.