The author worked hard, but was ostracized. He asked to go to work, and was wrongfully imprisoned. He had nowhere to redress his grievances, so he had to ask God for help!
Purpose: Criticize the evil situation of society and promote the ideal of redressing grievances