That said, should people who were hiding Jews during the Holocaust have said, "Why yes, mr. gestapo agent, I do have some Jews in here, right this way..." Of course not.
The difference between lying and not telling the truth is, IMHO, the same difference as the one between murder and self-defense.
God “lies”. In Bible Study we had some thing on that, and the ethics of it all. One of which was lying to protect the Jews in your German basement.
Some examples in the Bible. The whole Exodus thing. It starts off with God telling Moses to tell Pharaoh that they need to go out into the desert to do sacrifices and worship, and that once that is done you’ll come back. That request is repeated after each plague. (So that might have been the deception of war type thing).
Another one(?) was where the disciples ask Jesus to go to some city with them, and Jesus says “Oh no - you guys go. I’m not going.” And then the next day or something Jesus shows up in the city! Although Jesus may have meant - I’m not going now. I don’t recall any greater purpose behind the “lie”. Heck - maybe Jesus just changed His mind.