How did Judaism affect morality at the time?