Turkey from its foundation, including last 150 years of Ottoman Empire, to this day was never a good country. We weren't even decent.
That's what the leftist part of Turkey doesnt get, including Ataturk's era, Turkey never had a good economy. It has been built on the financial aids we got from Murica. Try to read some books, my friend. You can start with 'Modern Turkiye'nin Olusumu' by Feroz Ahmad.
Turkey's economy didnt get worse in just one day. It is a result of a process. A process that dates back to 17th-18th century.