It very clearly states in Revelation those who worship the beast will be cast into the lake of fire. Now, you might say this is not literal, and fair enough, but then you need a different way of interpret it. Jesus talked about hell as weeping and gnashing of teeth. In fact, he compared hell in the afterlife to the place that was known at the time as Gehenna. IMO Jesus was talking of an illustration of what hell in the afterlife is. If not, then what was He comparing exactly? It also says in Revelation that Jesus, Yeshua Messiah will avenge the saints who are martyrs for the Kingdom of God. IDK about you, but I have actually faced persecution in some ways for being a Christian. If you have not, I would say make sure you are right with God because Jesus promised persecution to the saints but God says he will “keep” us from falling away if we truly love Him and he will make it up to us as he says, “Blessed are those who are persecuted for My Name sake, you will receive rewards in heaven.”
But to answer the OP’s question, when you get to heaven, you will know God’s judgement and mercy are good and God has that right as the supreme ruler of the universe to be Holy and that He cannot tolerate sin. While it may hurt you because you were close to these people on earth, when you get to heaven you will have a completely different perspective about those who were not saved because you will have received a heavenly body like Christ’s.