I think they’re half right.
I feel it can be more important to be confident than right, in the moment, but once that moment is over you want to correct yourself and let others know that you were wrong about x, y, or z.
I feel the way you handle trying to be confident, even when you may be wrong, matters as well. For instance, you don’t want to be dismissive of the correction, but you should assert that you’ll reconfirm the details so there’s no ambiguity, but you’ll approach x problem with y solution for now until you’ve had time to verify z.