I completely dont agree with the guy rockzzrock. Because he need to give sources which are authentic.
Look it depends on the time period you are talking.
In India there were no bibles or very few. Temples were there from BC period only. I don't think masjids were there because religion Islam or Muslim started in 610 A.D. So it would take time to reach India. Christianity started from a long time ago like in 0 A.D or 1 AD.
Look in sangam age there were gods like Sivan and Murugan so they built temples for these gods. Hinduism started before sangam age so there could be few more temples built before too.
Thank you, any doubt you can ask me. :)