Jesus’ command, “You therefore must be perfect, as your heavenly Father is perfect,” sets an impossibly high standard: wholeness without fault, measured against God’s own perfect nature and perfect law. James reminds us that failing the law at even one point makes a person guilty of breaking all of it, so the command exposes every believer’s inability to earn that perfection by their own obedience.
The gospel answers where the law accuses. Christ himself was perfected through his suffering to become the source of salvation, and by his one offering he has perfected forever those who are being sanctified; God credits believers with Christ’s own righteousness and adopts them as sons through him. That perfection is worked out now, tested and matured through trials, and will be completed at the resurrection, when these lowly bodies are raised and transformed to be like Christ’s own glorious body.