Terry Pratchett said this quote

Belief, he says. Belief shifts. People start out believing in the god and end up believing in the structure.