Hmmmmm....
Who is the book of James addressed to? The twelve tribes scattered abroad.
When will the twelve tribes be scattered abroad? During the great tribulation.
When is the Judge standing before the door? At the end of the great tribulation.
Let's read the next few verses in James 5...
10 Take, my brethren, the prophets, who have spoken in the name of the Lord, for an example of suffering affliction, and of patience.
11 Behold, we count them happy which endure. Ye have heard of the patience of Job, and have seen the end of the Lord; that the Lord is very pitiful, and of tender mercy.
Why should the "twelve tribes" look to Job for comfort? Job pictures the Jew in great tribulation, yet his end is far better than the beginning. Job's 42 chapters pictures the 42 months (3.5 years) of great tribulation. If the Jew endures through the great tribulation, the end result will be the Millennial reign of Christ.