I'm not sure I'd agree entirely with you on that, but there are a lot of similarities in concept between this song and Job. I imagine it could be a retelling of several Psalms, perhaps even something like Lamentations - though, I'm not familiar with the narrative in that book.
The part that hits home for me his how often we (1) neglect to complain and protest God re. injustice as a form of legitimate prayer. and (2) that Jesus stands to reveal the Father to us, often in a way very different from our preconceptions of God.