The caveman, long long ago, might have discovered that just by praying in times of calamities was useful to him in getting rid of the impounding dangers of nature and human race continued this tradition as learnt from their ancestors. That could be a reason why all human races on Earth have this tradition of praying to the divine power in one form or other. Idol worshipping is also such a form.
Scientifically speaking it is only a fear of that divine power or human greed to get affluence by praying Him that is in fact the motive being these beliefs or superstitions.
It is very difficult to remove from our minds the deep rooted beliefs and concepts and even the best analytical and logical minds fail there. If a person is rational and is not fearing anything in the world, he does not need to take support or shelter under any divine power in any form.
Knowledge is power.
'Idhuvum Kadandhu Pogum "
Even this challenging situation would ease