The only life pleasing to the Lord is one lived out in faith. In our lives we are promised many trials and hardships. It is these very trials that test our faith. James says that they do such a work in us that we should have joy when we encounter these tests.