Old Testament – Genesis, Exodus, Leviticus, book of Numbers and Deuteronomy – reached their present form in the Persian period (538–332 BC), and their authors were the elite of exilic returnees who controlled the Temple at that time. The books of Joshua, Judges, Samuel and Kings follow, forming a history of Israel from the Conquest of Canaan to the Siege of Jerusalem c. 587 BC. There is a broad consensus among scholars that these originated as a single work (the so-called "Deuteronomistic history") during the Babylonian exile of the 6th century BC. The two Books of Chronicles cover much the same material
Homosexuality in the New Testament was restricted to pederasty; beyond doubt, the NT here repeats the Leviticus condemnation of all same-sex relations". Similarly, Campbell writes, "it must be pointed out, first, that "arsenokoitēs" is a broad term that cannot be confined to specific instances of homosexual activity such as male prostitution or pederasty. This is in keeping with the term's Old Testament background where lying with a 'male' (a very general term) is proscribed, relating to every kind of male-male intercourse." Campbell (quoting from Wenham) goes on to say that, "in fact, the Old Testament bans every type of homosexual intercourse, not just male prostitution