Psalm 37:18 in the King James Version
The LORD knoweth the days of the upright: and their inheritance shall be for ever.
Context
17 For the arms of the wicked shall be broken, but the LORD upholds the righteous.
18 The LORD knows the days of the perfect. Their inheritance shall be forever.
19 They shall not be disappointed in the time of evil. In the days of famine they shall be satisfied.