The issue of lying is interesting....
Exo 1:15 Then the sovereign of Mitsrayim spoke to the Hebrew midwives, of whom the name of one was Shiphrah and the name of the other Pu‛ah,
Exo 1:16 and he said, “When you deliver the Hebrew women, and see them on the birthstools, if it is a son, then you shall put him to death, but if it is a daughter, then she shall live.”
Exo 1:17 But the midwives feared Elohim, and did not do as the sovereign of Mitsrayim commanded them, and kept the male children alive.
Exo 1:18 So the sovereign of Mitsrayim called for the midwives and said to them, “Why have you done this, and kept the male children alive?”
Exo 1:19 And the midwives said to Pharaoh, “Because the Hebrew women are not like the Mitsrian women. For they are lively and give birth before the midwives come to them.”
Exo 1:20 So Elohim was good to the midwives, and the people increased and became very numerous.
Exo 1:21 And it came to be, because the midwives feared Elohim, that He provided households for them.
The midwives lied to the Pharaoh and were blessed by God for it....
Abraham lied to Abimelech and received blessings for it.
It both cases, they lied for preservation of life. It seems that sometimes God honors those that lie for the preservation of life.