Nice selective quote.
How about addressing the arming, financing, and training of Osama bin Laden?...
Yes. We (CIA) were ignorant or ignored that the Pakistani allies, and the Middle East sources, had their own aims in the vetting of the Mujahadeen groups the U.S. helped supply weapons to - those third party sources did most of the vetting while our intel was mostly in directing the use (targets) of what we supplied. Their long term agenda was not ours and our folks either were just stupid or ignored it.
That said. It did hurt the USSR econonomically and miltarially, and it was one of the factors contributing to the end of the USSR.
I do not see that as a similar issue at all in the assistance to Ukraine. The military of Ukraine is not going to become an enemy of the U.S. It is now inevitable that at the end of it all Ukraine will become part of NATO if not integrated with the rest of western Europe one way or another on military/security matters.
The one thing Biden could have said to Putin, and a President Trump may have said to Putin in February 2022, is “if you (Putin) want to guarantee that Ukraine is going to become part of NATO, you can be sure your planned invasion will do just that”.