Unfortunately; this statement is both true and untrue: we can learn from accident and adversity; but the type of learning may not be good for ourselves or others — and sometimes we seem to learn nothing; which presents its own set of problems.
Luckily, life is a continuous and continuously adjusting process — otherwise the bruises would never go away.