Never tell a child they're bad. Be sure to make a distinction between the bad behavior and the child.
Children are not capable of making this distinction. Make a point of telling them specifically the "action" was wrong. They will internalize bad feelings if you don't tell them the difference.