Some can. Perhaps some cannot. We regularly see religious people post, here, that they would be murdering, raping fools, if thewy didn't have the influence of religion in their lives. I take them at their word. But prison statistics make it very clear that atheists are not a problem for society, from the standpoint of being unlawful, at least in comparison to religious people.
The Golden rule is not a commandment, but is a reminder of social cause-and-effect.
I recognize that I make a lot of the reality around me, continuously, by my actions and choices. If I wanted to live in a more hostile, selfish and leawless society, I would make more hostile, selfish and unlawful choices. If I wanted to live in a more generous, peaceful and loving society, I would make more generous, peacefuil and loving choices. And I am not talking about being held specitfically accountable for my choices. I am talking about how my choices reflect back to me by the society I modify around myself.
People who are not able to understand the multilevel interconnectedness of their own choices and how everyone around them acts, need simple, one step rules to help them do right and avoid wrong. The utimate one step religious moral concept is, "break a rule and God gets mad at you". "Fail to be generous and helpful to others, and God gets mad at you."
Religious morals are ethics for dummies.