Morocco have a pretty impressive pool of talent, but they have always notoriously failed hard as a unit. Its a shame, as imo they are the most entertaining and talented team in Africa. I wouldn't say they have a better squad than Ghana or Ivory Coast, but in terms of raw talent and skill, no team comes close to Morocco in Africa.
That being said, when it comes to teams playing as a unit, I personally would say the Egyptian team 2006-2012 is one of the best African teams i've seen in a while. The team comprising Zidan, Abo Trika, Gomaa, A.Hassan, Abdel-Rabou, Fathi and co, is for me the best Arab team in history, and one of the best African teams ever. I will never forget how they beat Ivory Coast, with Drogba and co time and time again, even destroying them 4-0(?) once.