That’s the same sort of “justification” Muslims give, too.
It completely contradicts the essence of the Golden Rule.
Perhaps the average Muslim has a greater respect and appreciation for the justice of God than you.
“essence” ... is that an immaterial thing, I thought you were totally materialistic (pun intended).
I will leave you with Jesus’ words:
Luke 13:1-5 There were present at that season some that told him of the Galilaeans, whose blood Pilate had mingled with their sacrifices.
2 And Jesus answering said unto them, Suppose ye that these Galilaeans were sinners above all the Galilaeans, because they suffered such things?
3 I tell you, Nay: but, except ye repent, ye shall all likewise perish.
4 Or those eighteen, upon whom the tower in Siloam fell, and slew them, think ye that they were sinners above all men that dwelt in Jerusalem?
5 I tell you, Nay: but, except ye repent, ye shall all likewise perish.