The writer also appealed for action because of God's reputation ("Thy name,"v. 18). He compared Israel to a harmless dove and the enemy to a raging wild beast (v. 19). God had promised to hear His people's cries for help and had done so in the past (cf. Judges). However now He was silent. Consequently Asaph asked God to remember His covenant promises to Isreal (v. 20). This may be a reference to the promises to Abraham (Gen. 12:1-3) or to the blessings and curses of the Mosaic Covenant (Deut. 28). Deliverance would lead God's people to praise Him (vs. 21). The foolish man (v. 22) is the enemy who does not regard God's revelation of the fate of those who oppose His people. Israel's adversaries evidently mocked Yahweh as they devastated His sanctuary (v. 23).
This psalm is a good example of prayer based on the person and promises of God. When God's people suffer for their sins we can call out to Him for help, but He may continue the discipline even when we base our petitions on His character and covenant.