Does the word "soldier" literally indicates a person who served the armed forces? Or is it a metaphor?

Native speaker’s answer
Rebecca
Yes, you're right! While a soldier is usually an individual who is serving in the military (at any level or organization), it is also used metaphorically to refer to people who are persistent and persevere in difficult situations. It is often used as a verb in these metaphorical cases. Ex: My brother is a soldier in the navy. Ex: It was the hardest year of my life, but I soldiered through all the difficulties.