Religion is everywhere in the history of mankind. But until recently, people had no choice in their religious identity, and almost everyone followed the religion of their family or tribe.
The Ten Commandments are part of the OT Law, but NT authors do quote or allude to the commandments quite often as being relevant for new covenant Christians (except for one).