Indeed, this cosmicist insight, as H.P. Lovecraft would have put it, can come from anywhere. It's the depersonalizing stuff of true objectivity, what the philosopher Thomas Nagel calls the view from nowhere.
If modernity is driven by scientific objectivity, the thrust of human progress leads us away from the anthropocentrism of the ancient world and of mass self-delusions. But this progress has the drawbacks of alienation and horror, especially for the intellectual elites. And that's our existential plight.
I focus on the absurdity of religious moralism in another article, if you're interested. It's called simply, "Why would God Care about Morality?"