Yeah. I’m pretty sure that movie was based on the second battle of Ft. Wagner - which is what the painting is a depiction of.
Just a totally useless loss of life fighting over an inconsequential strip of sand that was abandoned two weeks after the battle - so I thought it was an apt metaphor.