Under George W. Bush in 2003, the United States negotiated an agreement with Libyan strongman Gadhafi: He would give up weapons of mass destruction peacefully, and we wouldn’t try to depose him.
That led to a destabilizing flood of refugees hitting Europe, too.
Still, Libya is in a class of its own. In Syria and Yemen, at least, the situation was already bad.