Both Algeria and Morocco applied for membership to join BRICS, but both were not approved, although Algeria was one of the most likely countries to join, considering that it is a major economic power in the region and is considered a strategic ally of Russia, as well as Morocco, which represents the most prominent economic pole in North Africa. Most analyzes say that they were not accepted because of the dispute between them over the issue of Western Sahara (the Polisario Front).
The Egypt-Ethiopia issue is very tricky. Why should Ethiopia give all of its water to Egypt? Ethiopia is a poor country with a growing population, and therefore they also have an equal claim to the waters of Nile. The Nile water treaty was signed between colonial powers, without taking into consideration anyone from Ethiopia or South Sudan. Most of the water originates from the two African nations (Ethiopia/South Sudan) and more than 95% of it is consumed by the two Arab nations (Egypt and Sudan). Either the Arab nations need to pay fee to use the water, or they need to stop using it.