Confession is not about "who" forgives sins. God forgives and that is not disputed by anyone.
Confession is about advice, reassurance, help, and hearing. Hearing the assurance of God's forgiveness.
James 5:14-16 Is any among you sick? Let him call for the elders of the church, and let them pray over him, anointing him with oil in the name of the Lord; 15 and the prayer of faith will save the sick man, and the Lord will raise him up; and if he has committed sins, he will be forgiven. 16 Therefore confess your sins to one another, and pray for one another, that you may be healed. The prayer of a righteous man has great power in its effects.