In his first interview with a foreign media outlet since taking office in June, al-Sisi sought to present himself and Egypt as at the vanguard of confronting militancy, citing it as the reason for his ouster of Egypt's first freely elected president more than a year ago – a move that brought international criticism and strained ties with top ally the United States.
He told AP that Egyptians had realized the danger of "political Islam" and that if he had not acted, the Arab world's most populous nation would have faced "civil war" and bloodshed now seen in Iraq and Syria.
"I warned about the great danger a year ago," he said. "But it was not clear (to others) until the events in Iraq and the Islamic State's sweep" over much of that country.
Al-Sisi did not elaborate on what support Egypt might give to the US-led coalition aimed at fighting the extremist group. When asked if Egypt might provide airspace access or logistical support for airstrikes, he said, "We are completely committed to giving support. We will do whatever is required."
But he appeared to rule out sending troops, saying Iraq's military is strong enough to fight the militants and "it's not a matter of ground troops from abroad."
Speaking in a chamber in his Ittihadiya presidential palace, he said it was "very important" to stop foreign extremists from joining militant groups in Syria and Iraq, warning that they will return to their home nations, including in Europe. But he said a broader strategy is needed that also addresses poverty and improves education in the region.
In his previous post as head of the military, al-Sisi ousted President Mohammed Morsi in July 2013 and launched a heavy crackdown on his Muslim Brotherhood movement. Since then, more than 1,000 have been killed and more than 20,000 imprisoned as police have crushed protests and rounded up Brotherhood leaders.
Al-Sisi said the Brotherhood "had a chance to rule Egypt" but that Egyptians turned against it – referring to the massive demonstrations in the summer of 2013 demanding Morsi's ouster.
Justifying the crackdown, he said the Brotherhood had "chosen confrontation." But he said followers of the group, which has been banned, could participate in politics in the future if they renounce violence.
"To anyone who doesn't use violence, Egypt is very forgiving," he said. "The chance for participation is there."