Papal infallibility does not mean the pope is perfect or immune to error. It only applies to formal proclamations of dogma regarding faith and morals, made with the intention of teaching the entire church. While the pope is a sinner and can make mistakes, the grace of the papacy allows him to speak infallibly when necessary.

