It can also happen that the person learns "this doesn't work well, this also doesn't, this too -- I wish we were doing everything differently!"
And later, when joining a better company, s/he more deeply understands the reasons behind their good practices -- because s/he has seen the mess, without.
Having seen and lived in mistakes, is life experience, can be useful. Depends on the person