Ok let's imagine this scenario:
Your boss at your corporation comes to you and says they need to tell you something about the company. They tell you about (insert subject here) and tell you not to tell (insert name here) or these certain people for their own protection, they aren't allowed to know about it yet. It's nothing illegal or immoral what they tell you, just something about the company's procedures or something to that effect. So then later one of your friends at work comes to you and says they heard a rumor about the same subject the boss told you about earlier and if you know anything about it or were told anything by the boss. How would you handle this? Would you say you don't know anything (which is what the boss wants) and lie? Would you spill the beans and risk your job? Would you just say "I can't discuss that subject" which clearly shows them you know something?
Regardless of the scenario, I'm assuming it's still a sin to lie even if you are protecting someone's interests. If you think you are doing the right thing by lying to someone to protect them because you care about them, should you still confess it?
Your boss at your corporation comes to you and says they need to tell you something about the company. They tell you about (insert subject here) and tell you not to tell (insert name here) or these certain people for their own protection, they aren't allowed to know about it yet. It's nothing illegal or immoral what they tell you, just something about the company's procedures or something to that effect. So then later one of your friends at work comes to you and says they heard a rumor about the same subject the boss told you about earlier and if you know anything about it or were told anything by the boss. How would you handle this? Would you say you don't know anything (which is what the boss wants) and lie? Would you spill the beans and risk your job? Would you just say "I can't discuss that subject" which clearly shows them you know something?
Regardless of the scenario, I'm assuming it's still a sin to lie even if you are protecting someone's interests. If you think you are doing the right thing by lying to someone to protect them because you care about them, should you still confess it?