We have unequal distribution of resources because of greed and opportunism, not because of scarcity.
There is more than enough food and energy for everyone, but there are too many powerful people trying to convince us of scarcity, in order to artificially deflate perceived supply and inflate demand to maximize profits.
Comcast internet is a perfect example of this. They claim that there is a very limited supply of bandwidth, and that is the reason for low speeds and high prices, but then they put a lie to that claim by turning home routers into wifi hotspots, using the bandwidth that they claimed doesn't exist.
People aren't starving in Africa because there is "not enough food", people are starving because it's more profitable to sell that food to someone else.