All immorality is based on greed. Define greed without using a dictionary. What does it mean to you in a general sense?
Morality becomes an issue when basic needs of the individual are denied, creating chaos within the group. Rules of laws are made based on rules of morality in order to control chaotic individuals by separating them from society and remanding them to prisons, until such time they’re rehabilitated, meaning that they no longer become chaotic when their needs are denied.
Those same rules of laws based on rules of morality are designed to allow people of privilege to withhold basic needs to individuals – and to groups – over whom they want to dictate.
So, morality comes into play when basic needs are deprived by those who deny basic rights.
The entity (individual or group) with the power to deprive thus deny creates the chaos. But instead of separating from society via jail cells, those who create the chaos, those in privileged positions seek to jail those who react adversely to the stress of deprivation that the privileged created.
Rules of laws based on morality are actually based on greed.
So, the root of all chaos is based on greed. Morality only comes into the picture to stop the greed.
Therein lies the problem and the solution.