Let this mind be in you which was also in Christ Jesus. That is the only solution to the problem James is addressing. Phi 2:5