"Terrorism will not end unless we all stand together. Don't cover your eyes and pretend that it does not concern you," President Abdel-Fattah el-Sissi told participants on the second and final day of a youth conference in the southern city of Aswan.
"If Egypt is lost, it will not come back. Those who fall in the abyss never come back."
El-Sissi also sought to debunk a cornerstone of the ideology of militants: Those who don't agree with their radical interpretation of Islam or oppose their actions would burn in hell.
"Leave us alone to live our lives and you are welcome to go to heaven," he said, addressing the militants. "You tell us that we are not good people and we will go to hell. Fine, but God's hell is enough, there is no need for you to subject us to your hell as well."
More From This Section
The reforms included floating the local currency and steeply hiking the price of fuel, utilities and a wide range of other basic goods and services. The reforms sent inflation soaring to more than 20 percent, but there has been no tangible sign of popular unrest over economic hardships.
El-Sissi has also overseen the arrest of thousands of Islamists and hundreds of secular activists following the military's 2013 ouster, which he led, of Islamist president Mohammed Morsi of the now-banned Muslim Brotherhood.
El-Sissi said the Aswan meeting, the latest in a series with Egyptian youths, was meant to "counter" the evil people.
But with the next presidential election just 17 months away, these intensely publicized gatherings have enhanced his image to many Egyptians as a caring and compassionate leader devoted to bettering the lot of his 92 million people.
At times, el-Sissi tears up, becomes emotional or speaks at the top of his voice to make a point, a combination his critics have used to label him a populist or given to being melodramatic.