Christ encouraged His faithful disciples by assuring them that God would protect them, and their truth and innocence would eventually be vindicated. And He assured them that their innocence, principles, and integrity, though not acknowledged by the world, would be revealed in due time.
So God's saints must be willing to be unknown, despised, and persecuted for the time being, with the assurance from Christ that their true character will be understood and their sufferings appreciated and rewarded at the right time, at the appropriate time. So we are not rewarded by the world for our faithfulness to God and our obedience to Him now, but that reward is coming.