In Canto #4 of Inferno, we learn there is space in our religious tradition for virtuous, well-meaning pagans. But they reside in limbo inside Hell's first ring. In contrapasso, to give it a Dantean spin, these souls did not recognize God, so God does not recognize them.