When we read it in middle school our teachers gave us an open invitation to discuss the meaning. 99% of the students said it was an allegory for suffering while still being faithful to God, like some kind of virtuous suffering. The teachers didn't really get into how Steinbeck was himself a socialist.
Also I'm guessing most of the students were giving a kind of "yeah, uh huh" answer.