I've seen a number of videos of soldiers and how they were treated, but I'm curious how it was for the Romans
What used to be the fate of disabled veterans of war in Ancient Rome? written by u/Iguana_on_a_stick talks about some aspects of this, especially in the second part of their answer