You are comparing the killing of innocent people based on some sort of utilitarian calculus with some sort of "punishment" for just thinking discriminating thoughts?!! You are not suggesting that that punishment be being put to death for just a thought are you? I mean while your post was extreme, that would just be ridiculous.Right, just the three main monotheistic religions on the planet:
No one is suggesting the death penalty for just bad thoughts!
You shall not covet your neighbour’s house; you shall not covet your neighbour’s wife, or male or female slave, or ox, or donkey, or anything that belongs to your neighbour.(Update: Slightly edited for clarity.)