When does a nation or community need outside support? Examples from Islam