Are you saying to avoid Hell one must be a Christian?
Except for those of Matthew 12:32 and Hebrews 6:4-6, everyone who dies is considered as being in biblical hell ( that included the dead Jesus - Acts of the Apostles 2:27; Psalms 16:10 )
We can't avoid biblical hell because the Bible's hell is simply mankind grave for the dead until resurrected out of hell/grave - Revelation 1:18
The figurative sheep and goats of Matthew 25:31-33 are Not avoiding hell, but the goats will be destroyed forever - Psalms 92:7; whereas those counted by Jesus as being just or righteous - Matthew 25:37 - will be counted as worthy to continue living on Earth starting with Day One when Jesus' 1,000-year governmental rulership over Earth begins.