There are a variety of words that can be used as synonyms for the phrase "were punished" depending on the context and severity of the punishment. Some milder synonyms include "were disciplined," "were reprimanded," or "were scolded." For more serious consequences, one might use words such as "were penalized," "were sanctioned," or "were condemned." Other options include "were chastised," "were castigated," "were admonished," or "faced consequences." Ultimately, the word chosen as a synonym will depend on the specific situation and the tone desired for the text or conversation.