Being Honest Is Good

If being honest is good, then why do people get hurt after finding out the truth?