God does not tempt us because God is good. Temptation always comes from our own desires and usually starts in our mind. We need to fight or flee from temptation.
James tells us how we should stand firm when we face trials in our lives. Trials in our lives make us stronger and increase our faith. Jesus said that he is always with us and he will help us during our trials.