Islam and Christianity have their roots in Judaism, so if you think either of those are evil... there's a kind of logic there I guess.
Atheists learn a sense of morality the same way everyone else does, it is taught in childhood, and generally based on the common sense idea that your own...