That obviously depends on your objectives and world view.
In my opinion, it teaches that the NATO should have stayed out of the region in the first place, and the US specifically should be carefully about upsetting regional power balances.
>Devil's advocates tend to glance over the fact that these red lines were respected at the time and Ukraine nor Georgia were offered any closer integration with the EU and NATO
This is not very accurate IMO.
There were significant NATO policy decisions immediately preceding the 2014 invasion with respect to Ukraine. Further decisions were taken immediately proceeding the 2022 build up and subsequent invasion.
The first was in 2008 when NATO decided Ukraine could start the NATO membership process.
This came to a head at the start of 2014 when Euromaidan revolution lead to a change of government.
Feb 2014, Russisa takes Crimea
In 2016, Ukraine was granted a NATO Comprehensive Assistance Package (CAP), comprising the advisory mission at the NATO Representation to Ukraine as well as 16 capacity-building programs and Trust Funds.
In 2018, Ukraine was officially given NATO aspiring member status.
2021 NATO reaffirmed that Ukraine will become a member.
2021 Russa Masses on the Ukrainian boarder and makes the same threat of invasion it has made for 10 years if it doesn't get US assurance that Ukraine will not be allowed to join NATO. US still refuses
2022 Russia invades.
This whole war was telegraphed a decade ago and nobody involved was willing to compromise.
I think personally that it would have been better if the parties involved could come to a solution based in self-determination and demilitarization.