All sorts of things influence a person one way or another, positively and negatively; I think the trick is to accept that whatever the thing was happened and then to determine how best to react.
In your cases, you emerged out the other side intact and those things (the lessons learned) probably helped you thrive moving forward. Isn't it cool when something positive comes out of a negative? Of course, some of those happenings can be tragic, soul-destroying, things...but even then there's benefits to be found (mostly).