And yet to this day I still feel like I'm a bad person despite not really knowing why
You were the scapegoat; someone to take their anger out on.
You see, their narrative was that you were naughty and needing punishing, although you now know this not to be true.
A similar narrative was used on my sister. She was this evil, manipulative child who needed severely punishing. Truth be told, she was a well behaved, kind child. I, on the other hand, was a bit of a handful. But if they had laid a hand on me, I would have hit them back, in defiance. So, they decided to label me schizophrenic, instead 
I reported them to the police for the abuse of my sister. But my sister felt guilty pressing charges, and didn't. She was annoyed with me for pursuing it (which I kind of understand, TBH).