Pot. Kettle. Black.
Actually, I tend to believe Erdogan in this case. He wants to resurrect the old Ottoman Caliphate so that this caliphate (under his control as Sultan of the New Ottoman Empire) controls Islam throughout the middle east and North Africa. His vision sees the extant of the Ottomans combined with the Ummayyad Caliphate
If you understand this, you will understand much of what Erdogan is doing.