i don't see the issue, in theory. if players have chosen to live by the sword, the dm is meeting them on their level by allowing them to die by the sword.
and you never know, maybe it's an op party that could make it a close match. maybe the players had warnings and brought the god's wrath on their heads anyway.
as with all things, there are contexts where it is appropriate and contexts where it is a wild overreaction. but this is a meme comm, not a nuance factory.