Well! That is nothing more and nothing less than the Catholic definition of infallibility.
God (that is, the Holy Spirit) prevented St. Luke, St. Mark, St. Paul, St. Peter, etc etc etc from writing error in their texts.
So…you do believe that men can be infallible.
Men can be correct and error free (inerrant)
But infallibility is a Divine only attribute
The Sovereign Almighty God can have people or institution do EXACTLY what He desires: Thant doesn’t make them infallible
like Cyrus (Isaiah 45)
“For the sake of Jacob my servant, of Israel my chosen,
I summon you by name and bestow on you a title of honor,
though you do not acknowledge me………I will strengthen you, though** you have not acknowledged me**,”
like Pharaoh: (Exodus 9:15)
But
I have raised you up for this very purpose, that I might show you my power and that my name might be proclaimed in all the earth.
Pilate (John 19)
Pilate said. “Don’t you realize I have power either to free you or to crucify you?”
Jesus answered, "
You would have no power over me if it were not given to you from above
**
Do you have any doubt that Cyrus, Pharaoh , and Pilate did exactly what God wanted to be done?**
Did God use Cyrus, Pharaoh, and Pilate to accomplish His will?
Yes, absolutely.
Were the actions of Cyrus, Pharaoh, and Pilate in accordance with the sovereign plan of God?
Yes, absolutely.
Did Cyrus, Pharaoh, and Pilate do EXACTLY wanted God wanted to be done?
YES, absolutely
Are Cyrus, Pharaoh, and Pilate worthy of any honor, glory, or praise?
NO!
Are Cyrus, Pharaoh, and Pilate infallible?
NO!
(Did I just say that Cyrus, Pharaoh, and Pilate are like the Cathoic Church?
NO I did not)
The POINT is that God uses all types of people to accomplish his Sovereign Will; that does NOT mean those kingdoms, institutions, or people are infallible!