ISB ~ James 5 v16
confess … to one another:This command must be interpreted within the context of the anointing rite, where the elders (i.e., priests) presumably hear the confession of the sick person before his sins are remitted through the sacrament (5:14-15).
• Such confession has its roots in the liturgical practice of Israel (Lev 5:5-6; Num 5:5-10) and is implicitly mandated by the teaching of Jesus (Jn 20:23).