Erdogan may have fired/imprisoned some of his best military.
-------
On the other hand, it's long been said the Turkish military could easily route ISIS; and the Turkish military is one of the most formidable on earth, only behind the US, Russian, Chinese and maybe a few others.