Throughout Egypt modern history, it had formed some allies as well as had fought wars with other countries, form the text provided:
1- Israel is the country that had several wars with Egypt
2- Syria is the country that formed an ally with Egypt