James prescribes communal prayer for the sick, with elders representing "the ordinary religious teachers of the congregation" (Barnes). The anointing oil likely served dual purposes - medicinal treatment and symbolic of the Holy Spirit's presence.
Matthew Henry emphasizes healing is "not ascribed to the anointing with oil, but to prayer," specifically "the prayer of faith" - not "cold and formal" but fervent belief. However, as David Guzik notes, "God does not grant immediate healing for every prayer of faith, and the reasons are hidden in the heart and mind of God."
The passage teaches praying expectantly while trusting God's wisdom, recognizing that spiritual healing through forgiveness may accompany or supersede physical restoration (BibleHub Commentaries).
