God doesn't need us to worship him. It doesn't benefit him in the slightest nor does it decrease from him in the slightest if we do or don't believe. But He has nonetheless set this criteria for us in this world to be successful in the next world. This is the reality whether we like it or not.
Karl Marx's theory on religion is stupendous. If you look at the founders of most world religions they were not interested in worldly gains or worldly affairs, they just wanted people to believe and be better people, to leave their wicked ways. If scriptures were written to unite people and build empires then the very founders of these religions would have only been interested in creating empires, but most of them were not (most prophets).
The laws set by these religions are moral laws, not laws on Internet fraud and what not. Having said that moral codes that are thousands of years old can still be of relevance today, for example, ensuring the Internet does not contribute to breaking up families, by having strict laws on such things as gambling. Even the laws we have today in Australia are what we call Common Law, which are laws that, though constantly changing, were inherited from hundreds of years of British law.
Religion encourages good upright behaviour and strong morals along with a strong family life. There is an abundance of benefit in religion.