But Trump did...
The Russians certainly learned from it. Are you familiar with the conditions regarding the Soviet invasion of Afghanistan? There was a book published fairly recently by someone who was in the Reagan admin at the time (Id have to do some searching to remember by who). In the book it was detailed that the US government very specifically engineered the situation to make the Soviets feel like they had no choice but to invade. In other words, we specifically wanted them to do it because we knew it would be a disaster. It was all part of Reagans strategy to weaken the USSR.