The word “Pope” appears exactly zero times in the Bible. Just sayin’.
Whe the Apostle Peter comes back to Earth I’ll acknowledge him as Pope. Until then no man is “infallible” on any subject imaginable.
You do know that “Pope” is a nickname, don’t you? His real title is “Bishop of Rome.”
Also: The Pope is not infallible; although many Catholics shorthandedly refer to the office of the papacy as the pope, it is the office of the papacy which is infallible. The Pope can offer his opinions on a great many things and can, and has been wrong. Only when he speaks through is role in the office of the papacy are his statements anything more than opinions or suppositions. 99% of all popes have never stated anything through the office of the Chair of St. Peter. No new doctrine is ever issued from the Chair; rather, the universal assent of the faithful to an existing doctrine is discerned, whether through an ecumenical council which comes to a consensus (as is the ordinary way in which something is found to be infallible), or through a special proclamation made in the absence of discerned, informed dissent.
If you say, “what doctrine has ever met the latter standard?” you would not be surprised to find it has only been used three to nine times. (As I understand it, the disagreement is not over which statements are correctly asserted, but over what constitutes a separate doctrine, as opposed to a mere syllogism based on an existing doctrine.)