Sometimes the harshest lessons were the most valuable.