Doing what you described is not as easy as you think, hence not merit-less. Additionally doing such implies, belief in Allah, the hereafter, and acting upon which are all very important.
Indeed, those who believed and those who were Jews or Christians or
Sabeans [before Prophet Muhammad] - those [among them] who believed in
Allah and ...