caught in a lie 😩

Nothing related to pregnancy but have you guys ever been caught in a lie??? Like for example I consigned something for my friend and I kept it from my husband and today he found out he's upset but my friend already paid it off. So I don't see the harm in it. It's not like it was his money or my money and I trust this person with my life... maybe I was wrong but it's done and take care off.