Hebrews 11:13:

These all died in faith, not having received the promises, but having seen them afar off, and were persuaded of them, and embraced them, and confessed that they were strangers and pilgrims on the earth.

See also:

What 1 John 1:9 Really Means
Objection: Hebrews 11:39 Proves That You Can Have Faith and NOT Receive the Promises