In reply to the OP, I'd like to point something out.
Xy has tended to flourish in places where there is oppression, poverty, and hopelessness. That's because Xy is, at its base, a religion of liberation. It was born in a place that was oppressed by the largest empire the world has ever known. As soon as it became "the state religion," it began to become twisted and to perpetrate the same oppression that fostered it in the first place. In nations of privilege, Xy is waning rapidly. In nations of poverty, Xy is on the rise. At its heart, Xy is a religion for those who are poor, disenfranchised, hopeless, oppressed. At its heart, Xy stands against the status quo of entitlement and privilege. Xtian theology does not say, "I'm one of the 'elect' -- therefore, I get to go to heaven." It does say, "I can't believe God would want me -- ragged, despised, dirty." Which scenario present true good news -- that someone is privileged and entitled to be with God, or that someone who is unworthy is graced to be with God?
My take is that systematized and "sanctioned" Xy is a drag on society. It's not the "system" of Xy that has made countries great. But it's the renegade, underground Xy that has pulled many a poverty-stricken people out of the mire.