Maybe just lip service but probably not allegiance and certainly definition. You’d have Catholics and Jews and Baptists and different levels of dedication all the way to lapsed and ex.
It still kind of mattered, even in the view of God as mean traffic cop in the sky and if you had a radar detector you could blast by that Smokey with no seeming ill effect. Now people often don’t even believe in a God to disobey.