Pope John Paul II self-flagellated to get closer to Jesus

Religion makes me laugh. 80 years on this planet is all you have, why significant portions of it on something that's not the only true religion - Pastafarianism?