Despite the war being fought to protect the right of the patrician elite of the South to own slaves, the planter class was reluctant to give up their cash crop, cotton, to grow the corn and grain needed by the Confederate armies and the civilian population. As a result, food shortages, exacerbated by inflation and hoarding of foodstuffs by the rich, caused the poor of the South to suffer greatly. This led to food riots of angry mobs of poor women, who raided stores, warehouses and depots looking for sustenance for their families. Both the male deserters and the female rioters put the lie to the myth of Confederate unity, and that the war was being fought for the rights of all white Southerners.