Why is it that the more religious a country is, the poorer it is?

Not sure if anyone else noticed this but whenever a country is overly religious and the majority favors spanking kids and thinks psychology is never needed (refuse to cultivate themselves more and rely on the bible as the only source) the poorer that country is. The nation remains a 3rd world country with poverty, multiple children, deliquency and starving people.

Meanwhile on highly developed countries, there are more non-believers, it's a wealthy nation, less people are into corporal punishment on children, less poverty, not too many bible fanatics and it has a lower rate of deliquency.

Why is it that the more religious a country is, the poorer it is?
Post Opinion