Money is just a way to exchange value. People don't really want money itself but the things you can buy with it.
Not only lack of resources can turn people into evil but also just pure greed.
The problem is with how we value things as a society. Money is not evil but people are. It's the same like guns don't kill people, people do it themselves. Money and guns are just objects. You can use it for both good or bad things. Objects don't have responsibilities, people do.