James 4:7-10 (HCSB) “Therefore, submit to God. But resist the Devil, and he will flee from you. Draw near to God, and He will draw near to you. Cleanse your hands, sinners, and purify your hearts, double-minded people! Be miserable and mourn and weep. Your laughter must change to mourning and your joy to sorrow. Humble yourselves before the Lord, and He will exalt you.”
Step four says to humble yourself before God. God is in complete control of the universe. God sees and knows everything that happens. God knows when we are tempted and we must humble ourselves at this time so we can move closer to him.
God must not see us just continuing in the activities of the world. He must see us walk away from temptation not enjoying it just a little bit longer. A good example is when we see a beautiful woman one look is enough second looks and lust full thoughts should not be entertained. The point is this: when a person is tempted, if he humbles himself in the sight of God, God will lift him up. God will meet his need, give him whatever he needs, and deliver him from the onslaught of temptation.
William Barclay has an excellent description of this point.
“Only when a man realizes his own ignorance can he ask the guidance of God. Only when a man realizes his own poverty in the things that matter will he pray for the riches of God’s grace. Only when a man realizes his weakness in necessary things will he come to draw upon his strength of God. Only when a man realizes that he cannot cope with life by himself will he kneel before the Lord of all good life. Only when a man realizes his own sin will he realize his need of a Saviour and of the forgiveness of God” (The Letters of James and Peter, p.129).