The Church needs to learn to confess sin the Bible's way, which is also the Lord's way. We need to learn to confess not only personal sin but also parental, ancestral and national sin. We need to confess parental, ancestral and national sin that the Holy Spirit shows us, so that we do not unwittingly walk in those sins. As the examples of Moses (Exo. 34:9; Num. 14:17-19), Jeremiah (Jer. 14:20), Daniel (Dan. 9:8, 20), and Nehemiah (Neh. 1:6) show us, we can always identify with the roots of any given sin even if we ourselves have not committed it. I may not have committed hate crimes against African Americans, but I can identify with the sinful attitudes at the root of racism--pride, intolerance, fear, control, divisiveness, isolationism, and self-preservation. Moses and Jeremiah were not idolaters, but they confessed the sin of idolatry on behalf of God's people, asking the Lord to forgive their sin (Exo. 34:9; Num. 14:17-19; Jer. 14:20).
Source: Dr. Gary S. Greig - The Biblical Foundations of Identificational Repentance as One Prayer Pattern Useful to Advance God's Kingdom and Evangelism, April 2001