Love, in the Catholic tradition, is a decision – it is the decision to will/to desire the good of the other person. Love is not egocentric; it’s other-centered.
St. James wants to remind us that our faith will necessarily lead us to do good, to act on behalf of those who are suffering, but also to trust when something is not quite going my way.