It's really humanist. It's the idea that none of us is as smart as all of us. Markets are considered distorted when they aren't free or start to resemble other types of organizations like autocracies, aristocracies, plutocracies, kleptocracies, etc.
So there is faith, but it's in humanity as a group, not magic math per se.