2. For the church of God (v. 22): Redeem Israel, O God! out of all his troubles. David was now in trouble himself, but he thinks it not strange, since trouble is the lot of all God's Israel. Why should any one member fare better than the whole body? David's troubles were enlarged, and very earnest he was with God to deliver him, yet he forgets not the distresses of God's church; for, when we have ever so much business of our own at the throne of grace, we must still remember to pray for the public. Good men have little comfort in their own safety while the church is in distress and danger. This prayer is a prophecy that God would, at length, give David rest, and therewith give Israel rest from all their enemies round about. It is a prophecy of the sending of the Messiah in due time to redeem Israel from his iniquities (Ps. cxxx. 8) and so to redeem them from their troubles. It refers also to the happiness of the future state. In heaven, and in heaven only, will God's Israel be perfectly redeemed from all troubles.