Making promises you don't intend to keep is not only wrong, it is breaking the ninth commandment. One of the most common offenses is when someone says, please keep this in confidence, and then you turn around and tell someone. No matter how you sugarcoat it, it is dishonest. Justifying all the honorable reasons why you chose not to keep your word does not make it right; it is, in fact, a sin. Nor does it make it okay if you don't come out and actually tell, but hint enough for the person to figure it out. That is still not honoring your word. Not only are you breaking God's commandments, but your reputation is damaged as well. Others will label you as not dependable and worse, your integrity is compromised. The Bible says in Jeremiah 17:10, “I, the Lord, search the heart and examine the mind to reward a man according to his conduct, according to what his deeds deserve”. God wants us to honor Him by being honest, truthful, and dependable, and to always keep our word.
Matthew 5:37 KJV - But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil.
Numbers 30:2 KJV - If a man vow a vow unto the LORD, or swear an oath to bind his soul with a bond; he shall not break his word, he shall do according to all that proceedeth out of his mouth.
Ecclesiastes 5:4-7 KJV - When thou vowest a vow unto God, defer not to pay it; for [he hath] no pleasure in fools: pay that which thou hast vowed. Better [is it] that thou shouldest not vow, than that thou shouldest vow and not pay. Suffer not thy mouth to cause thy flesh to sin; neither say thou before the angel, that it [was] an error: wherefore should God be angry at thy voice, and destroy the work of thine hands? For in the multitude of dreams and many words [there are] also [divers] vanities: but fear thou God.
Proverbs 11:3 KJV - The integrity of the upright shall guide them: but the perverseness of transgressors shall destroy them.