A 12 year old knows that theft, arson, rape, murder, and et cetera, are wrongful both in that they incur a punishment, and in a more abstract, moral sense
Children's awareness of this is, in fact, before the age of 12. Though awareness does not occur overnight, it is completed before age 12 in the developmentally normal, for gods sake.