I read - do not give a false testimony against your neighbor - do not slander an innocent person. Bible does not forbid to make a white lie to survive or protect others. You do not know the Bible or you read selected fragments.
In my country people who spoke the truth to the Germans(about the resistence movement or hidden Jews) were ending up hanging on the tree or getting shot.
Mark 7: 21-22 For from within, out of men's hearts, come evil thoughts, sexual immorality, theft, murder, adultery, greed, malice, deceit, lewdness, envy, slander, arrogance and folly. All these evils come from inside and make a man 'unclean.' "