Is a person defined by his or her actions?

We had this debate in English and it seemed that I was the only one who answered no to this question.
We were talking about criminals, and whether or not they are bad people. I argued that just because stealing breaks political and moral societal laws it does not render them a bad person. I argued intentions which, of course, falls under a huge grey area but, then again, so does almost every law in effect, ever.

Say someone robbed a bank and collected a large sum of money to pay for treatment for his or her mothers illness. Does this make them a bad person? Absolutely not.