We went over that a bit in our class on ancient Greek warfare. Sophocles's plays Ajax and Philoctetes are routinely used these days to help veterans with PTSD, since they can sympathize so much with the titular characters. Ajax seems to have something resembling PTSD, while Sophocles's problems of abandonment, alienation, and constant suffering from a wound seem to be metaphors for the struggles of veterans.
Most free men in ancient Greece had probably fought in war at one point or another, including Sophocles, and as it seems only men could attend plays, the plays were probably written by veterans for veterans. Or at least, by a man who happened to be a veteran, for men who happened to be veterans, but the point is that the problems veterans face would have been clear to everyone involved.