David seems to have an understanding of what you reap, so you will sow. He believes here that he is getting what he deserves and does not cast blame on God for what he is going through. In his petition, David only asks that God would protect him from his enemies. Sounds fair to me.
We can not escape the consequences of our sins. And thought Jesus paid the ultimate price to make us right with God, we will need course corrections. God has a great plan for us. In order to achieve that plan we must follow God's path. It is important to acknowledge in times of correction that we are not being treated unfairly. God is a perfect judge.
Heart and Soul,
BAG
<><