There is always something to learn from every experience. Every person we encounter helps us to learn something about ourselves, helps us grow.
However it all depends on what we choose to focus on. If we remain bitter, there is no scope for becoming better. If we choose to blame, we cannot blossom into a holistic, well-rounded individual.