There is also no free money in Morocco. If you want to succeed, then you should work hard. Obviously the lazy ones and the criminals who don't want to work hard look towards the shortcuts. The most attractive option is immigrating illegally to Spain. But their final destination is not Spain. Most likely, they are going to end up in Northern Europe (i.e Germany / Belgium / Netherlands).
There is also no work in Morocco. If you want to succeed then you can't. Obviously the realist ones who don't want to become slaves will take the only possibility they have. The only solution is immigrating illegally into one of the few countries monopolizing 95% of the wealth in the world.