Gad's ministry illustrates the accountability of even Israel's greatest king to the word of God. He could advise David in times of danger, but he also had the responsibility to bring an unwelcome message of judgment when David sinned.
The account of the census combines judgment, repentance, mercy, and worship. David's actions brought consequences upon the nation, yet God responded to repentance with compassion. Gad's instruction to build an altar transformed the place where judgment was halted into a place of sacrifice and worship. His ministry therefore emphasizes obedience to God, the seriousness of sin, and the mercy of God toward those who turn to Him.