Yes exactly.
Golden rule does not need the existence of any god.
There are godless religions too that have strong ethical traditions. They are not religions in the Abrahamic sense.