I'm not sure what catholic religions you have were taught and studied - but it states many times in the Bible, new and old, baptism is needed to enter the gates of heaven, as well as only through Jesus. The church has lost so many parishiners they are relaxing on the interpretation of the scriptures. Sorta keeping up with the times I suppose. The pope also talked about accepting homosexuality and abortion.
Here's a few for baptism
And the Catechism of the Catholic Church states: "The Lord himself affirms that baptism is necessary for salvation [John 3:5]. . . . Baptism is necessary for salvation for those to whom the Gospel has been proclaimed and who have had the possibility of asking for this sacrament [Mark 16:16]" (CCC 1257).
Therefore, go and make disciples of all the nations, baptizing them in the name of the Father and the Son and the Holy Spirit. (NLT, Matthew 28:19)
And then he told them, "Go into all the world and preach the Good News to everyone, everywhere. Anyone who
believes and is baptized will be saved. But anyone who refuses to believe will be condemned. (NLT, Mark 16:15-16)
The Christian belief that baptism is necessary for salvation is so unshakable that even the Protestant Martin Luther affirmed the necessity of baptism. He wrote: "Baptism is no human plaything but is instituted by God himself. Moreover, it is solemnly and strictly commanded that we must be baptized or we shall not be saved. We are not to regard it as an indifferent matter, then, like putting on a new red coat. It is of the greatest importance that we regard baptism as excellent, glorious, and exalted" (Large Catechism 4:6).