Libya has been a major source of large flows of illicit arms and weapons to violent extremists and armed groups, as well as human and drugs trafficking that are destabilizing vast swathes of West Africa. In 2016, former U.S. president Barack Obama publicly said that failing to prepare for the aftermath of the military intervention in Libya was the biggest foreign policy mistake of his presidency. Decisions on Libya were taken in the UK and in France, with more weight given to domestic political considerations and calculations than to the future of Libya and its African neighbors in the Sahel and beyond.
This is only an excerpt. You can read the full article on Carnegie Endowment For International Peace