"It is our first duty to serve society, and after we have done that, we may attend wholly to the salvation of our souls."
Nausheen, AIR 9, 2023
Our foremost duty as a human being is to serve the society with whole capacity and then indulge ourselves in otherworldly things.
As held by Gandhi, the best way to find ourselves is to loose in the service of others, as it is the truest essence of life. So, for instance, Boddhisattvas delay their salvation and coming up of enlightenment, to serve the society in their way to enlightened life. Similarly, we human beings must understand that real worship is in service of people.
All the religions of the world teaches us the same spirit of public service. For instance, in Islam, zakat (donations to poor) out of the wealth earned forms greatest virtue.
The statement can also be used to held those people responsible for their act who don't support poor and downtrodden but give immense wealth to temples/mosques/gurdwaras.
Overall, public service is the biggest form of worship and all must follow it.