I'd take issue with that, I would suggest that the laws are based on decency and a moral compass which christianity incorrectly claim is just down to them. Furthermore, your premise that religion teaches not to hate seems to fly in the face of the activities of some religions.