I immediately gain respect for people who matter-of-factly admit when they’re wrong and apologize for doing or saying something that warrants an apology. I think it’s a sign of an emotionally mature and self-confident person. You don’t lose anything by admitting an error or fault, it fact you gain perspective and knowledge that helps you develop as a person, while giving credit to the person who knew the right thing. Everybody wins.