I know at least one professed and sincere atheist who, of course, doesn’t believe there is any God but who also believes that a necessity for a free and prosperous nation is a general belief in, not just some deity, but the God of the Bible. He says he would not discourage belief except in his own children and wouldn’t be a fanatic with his kids.
Sounds like a conflicted soul; I pray of course the Lord has mercy upon him and removes any cause of doubt before he leaves the world.
But I’ve also seen atheists and agnostics confess that Christianity makes sense for the well being of a society.
An atheist has to believe there is a G-d he can’t believe in.