One of your fellow Roman Catholics has said popes are not chosen by the Holy Spirit.
*&*The Holy Spirit inspires everybody so that they may do good, but not everybody who is inspired by the Holy Spirit, effectively does good.**