
I think the painting could only be understand by a look on the situation in Spain in the time of its creation. It was painted 1878 few years after the miserable end of the First Spanish Republic. Spain fought internal wars againts the Carlist insurrectors, and outside in Cuba, where it defended the small rest of the once so spledid empire.
So there was no time for optimism or happiness. To remain standing and to endure was the best to hope for.