We Catholics know about the Good Thief, right? He was saved without Bible, without Baptism, and without an explicit declaration that he was accepting Jesus as his personal Lord and Savior. He just said Lord remember me when you come into your kingdom. We hardly know what he believed by that, but he was saved by grace.
We know about the babies killed in Bethlehem because of Herods odium Christi? Right? They had no baptism, no Bible, and had not even attained the age of reason, but they are considered saints in heaven (the Holy Innocents.)
We will respectfully bury stillborns and even miscarried babies in a Catholic Funeral which simply commits them to the mercy of God.
But the point is that God saves. Jesus: its His name!