Yes and no. In my area the crime is primarily due to opportunistic local, in which case you would be right but in many of the other areas, especially the bigger cities, a lot of crime is from foreigners. Namely Somalians, Nigerians and on the rare occasion, Congolese which are all war torn of military nations, in a sense and then there are also the Zimbaweans and those guys are survivors. In my home town we even found several cells of foreign militants that were training other foreigners and local for rural attacks.
So at the end of the day what you face depends entirely on where you are.