Over the past two decades , tens of thousands of Somalis have fled to Scandinavia to escape war and poverty in their homeland .