Apologising does not always mean you are wrong and the other person is right. It just means you value your relationship more than your ego.