Turkey doesn’t owe blind loyalty to either the West or Russia it acts based on its own national interests, like any sovereign country should. That’s not confusion, that’s strategy.
Claiming Turkey supports or back ISIS is not just false, it’s absurd. Turkey has fought ISIS militarily and designated them a terrorist group from the start. Turkey backs Sunni, Turkman and Uyghur groups. I've explained this 10 times on the forum, either slander or willful ignorance keepin sayin ISıs that isis these..
Erdogan is a very vocal supporter of the Muslim Brotherhood, and the "distance" he tried to put between him and these groups isn't of his own initiative but the result of pressure from foreign actors, namely the EU, US and Russia.
In the past Ankara also provided material support for terror groups (such as Muslim Brotherhood, Hamas, ETIM/TIP, Al Nusra, and others), which, in returned, provoked Israel to file a formal complaint to NATO as well as strong rejection from Germany regarding a hypothetical EU membership.
In 2015 or so, when it was being reported Khaled Mashaal was about to be expelled from Qatar, Mevlut Cavusoglu, the Turkish PM at the time) declared Khaled was welcome in Turkey.
Egypt found out Turkish MIT agents with ties to ISIS operating in Egypt.
I get it is a polarizing topic in Turkey, but this isn't a reason to burry one's head in the sand.
A significant portion of Turkey's society believed Erdogan's stance on Syria, and his policies, ultimately ended up emboldening and strengthening ISIS. Allowing ISIS foreign volunteers to use Turkey as a flow route was considered a justified mean to achieve the overthrowing of Assad. Claiming Islamists weren't allowed, through blind eyes, to procure equipment, supplies and training on the Turkish side of the border is, to put it mildly, revisionist at best.
Same goes with the links between the MIT and various groups such as Al-Nusra, Al-Sham and Turkmen minority groups in Syria.
Sure, the rationale could be that the Kurdish groups in Syria, themselves emboldened to overthrow Assad, were pumping the Kurdish groups in Turkey. Thus Turkey's support for ISIS would weaken the Kurds in both Syria and Turkey, which would eventually be a win for Erdogan.
Sure, one could also mention the fact Turkey opened its base in Incirlik as a kind of "hey look! we are fighting ISIS", though the effort is, at best, half-assed. And the reason why is because fully coming down on them would weaken Turkey's fight against the Kurds, PKK and such; since ISIS&cie is the back-bone of the effort preventing the Kurds to expand their enclave in Syria. having strong Kurds in Syria would lead to strengthened Kurds in Turkey. And the AKP does not want that.
So... yeah...