Money is literally the greatest hoax ever perpetrated on humanity.
Its only purpose in recent history has the worlds self appointed dictators to divide and control the people.
There is no reason that anyone on this planet should suffer or go without the basic necessities and creature comforts of life.
It is the greed of a few who seek to hoard our resources for their own personal benefit that makes life miserable for everyone else.
You are right about enough resources to go around the world. Its true that nobody needs to starve. Its no longer true right now but not too many years ago the whole worlds population could stand on a small island just off the coast of UK, not the mainland chunk of land just one of the many islands that in the waters around an already quite small nation (geographically). There is enough land and resources for all people.
People starve for war and horrible failures and inefficiency.
There is a purpose to money, that is why it is not a hoax or con. The division and distribution of money is to serve the purpose of spreading labour and resources across the many nations of the world and the vast variation in skills and abilities. A great mountain of copper in Alaska is not that useful but copper used in circuits as a small section of community buildings to transfer electricity is always very useful, this distribution does require money not just the base good bartered or exchanged.
There is no doubt some people do nothing except count money and come up with ways to tax or take a slice of the money circulating. Some of these people are even destabilising or straight up robbing a percentage of that money. Even after all that the trade and exchange of value and labour that is enabled by money is a benefit, it produces wealth to be able to trade.
The easiest way to see this is to go historically to boats that had to slowly pass goods from one part of the world to another, the price being higher in one place then the origins of that product due to supply and demand also varying in each market