In 2013, Davutoglu called Nasrallah when the rebels where in the center of Damascus and told him to prepare to pack his bags. Never count your chickens before they are hatched.
Turkey should have gone in right there and then in Syria to give the final blow to Assad and to make sure the country transitions peacefully to a democracy and with its territorial integrity still intact and with no Russia/Iran/Hezbollah in Syria. This would serve as an example in the entire middle-east and Egypt would most probably still be a Democracy.
Despite having an enormous army, what use is it if you don't dare to use it?
Now Turkey is picking up the shattered geostrategic pieces and is desperate to put them together. What is happening in East-med, Libya and what happened in Egypt is an extension of the failure of Turkey to get involved early in Syria. And now with Macron visiting his old colony Lebanon, France will get more involved in East-med.
Turkey would be seen as a broker in the mid-east, a democratic Syria would now be at peace with Israel with the Golan heights back, Hezbollah marginalized and Iran deterred.
No refugee wave, No Trump, no sanctions on Turkey but instead, admission into the EU by now because of Turkey being 'democracy bringer' to Syria. The staunchest Turkey opponents within the EU would be silenced or have no ground to deny Turkeys admission into the EU. No PKK/PYD/YPG on its borders and turkey would be well under way to it's $2 trillion dollar economy by 2023. The Gulf rulers would be on the defensive as opposed to be on the offensive against Turkey or even ousted.
JCPOA would bring economic growth to temper Iran's strategic loss and would embolden the moderate, reformist camp in Iran with Khamenei most probably being the last Supreme leader.
These aren't dreams or wishful thoughts but realities when looking at the geostrategic map.