Morocco is also the world 's largest exporter of phosphate , which has long provided a source of export earnings and economic stability .