It’s not Catholic doctrine - it’s God’s doctrine.
“Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me.” -John 14:6
Correct re Jesus. I was referring to the Catholic doctrine that people who don’t have an opportunity to accept Him becasuse they never heard of Him aren’t d@mned to Hell. IOW, Christ must provide some mechanism - who knows what - to give everyone a chance to accept Him.