Indeed. Reagan sent marines to Lebanon, but he also pulled them out as soon as he saw what a mess it was.
Most other presidents would have made the wrong choice, doubled down on our involvement, and got us stuck for decades.
After hundreds of US Marines were killed in their sleep.