You cant compare the Ottomans collapse to Erdogans rule.
Because the Ottoman Empire was in much deep shit with constant wars, constant refugee crisises, losing territory, heavy casualties, failed reforms, internal divisions, death of civilians, famines you name it along with terrorism...