The theological term is eschatology (eschat- means “last” or “end” or “final”). How will God wrap up everything? This category includes the doctrines of the return of Christ, heaven, hell, and final judgment.
I used to teach world religions for a number of years. I learned that even though many people never got the chance to hear the gospel, they still lived impressively moral lives. What happens to them at judgment?