I'd say that secular moral beliefs arose long before religious ones, and, in fact, the religious beliefs were based on secular moral beliefs.
I disagree. Because religious beliefs are fanciful, they require no actual understanding of reality. Secular understanding require real knowledge of the working of the world.