Yep bang on. Same thing happened in Iraq. All this expensive kit, ISIS turn up with a technical and an AK and they run for the hills. There are a LOT of parallels with what happened in Iraq with ISIS actually.
If you look at the history of Counter Insurgency Warfare since the Second World War, the only ones we can consider to have won out of all of them is Malaya but that was different as it was two ethnic groups striving for independence from each other not us (Malays v Indonesia) Every other single COIN war we have fought we lost. Vietnam, the various proxy wars in Angola and Congo, Rhodesia, Northern Ireland (yes a loss as the IRA were not defeated and have not gone away), Afghanistan and Iraq. We cannot do COIN warfare as we lack the political will to see it through to the end as we are stopped by our western values from doing what is necessary.