Shira Weiss discusses the ethics of prophets lying or using deception in the Hebrew Bible.
Shira Weiss, Ethical Ambiguity in the Hebrew Bible: Philosophical Analysis of Scriptural Narrative (Cambridge: Cambridge University Press, 2018), 120–194
[Weiss reviews examples of biblical figures using lies or deception–including Abraham, Jacob, the Israelite midwives, and others–and discusses the Bible's views on the ethics of these actions. Weiss concludes that the Bible appears to sanction deception when it preserves human life: "In biblical narrative as well, there may be instances in which it can be interpreted that characters had an ethical duty to deceive."]