 In the code of Hammurabi, as in Leviticus, incest is condemned and punishable by death, however, punishment is dependent upon whether the honor of another man has been compromised.Genesis glosses over incest repeatedly, and in 2 Samuel and the time of King David, Tamar is still able to offer marriage to her half brother as an alternative to rape.Exodus, Leviticus and Numbers condemn all sexual relations between relatives.