[quote=MariaGorettiGrl]It is definitely not a Catholic teaching, though some confused people sometimes claim it is.
The Catholic church teaches that the matter of your salvation is not only about your religion or your actions, but about your intent. If you’re trying really hard to be good, but you continually fall into sin, God is going to know you were trying to be good and take that into account. Just like God knows if you’re really sorry for your sins or if you’re only paying “lip service”.
The Catholic church also teaches that we on Earth don’t know who is going to Heaven or hell, and that we shouldn’t try to speculate on other’s salvation, but only our own. The only people we can be sure are in Heaven are saints who God has chosen to reveal to us through certain miracles.
I hope that answers that.
The Church does teach that it is possible for non-Christians to be saved, but that we can never be sure about it in any way. She teaches that if someone is seeking God with all his or her heart, and follows the moral law which is written on his or her heart, that they may be saved. It can be read about in Romans 1-4, for instance, where St. Paul talks about the gentiles having God’s law written on their hearts and so forth.