Hebrews 11:15

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.

14 For they that say such things declare plainly that they seek a country.

And truly, if they had been mindful of that country from whence they came out, they might have had opportunity to have returned.

16 But now they desire a better country, that is, an heavenly: wherefore God is not ashamed to be called their God: for he hath prepared for them a city.

17 By faith Abraham, when he was tried, offered up Isaac: and he that had received the promises offered up his only begotten son,

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
If they had been thinking of the country they had left, they would have had opportunity to return.
KJV
And truly, if they had been mindful of that country from whence they came out, they might have had opportunity to have returned.
WEB
If indeed they had been thinking of that country from which they went out, they would have had enough time to return.
ASV
And if indeed they had been mindful of that [country] from which they went out, they would have had opportunity to return.
DARBY
And if they had called to mind that from whence they went out, they had had opportunity to have returned;
BLB
And indeed if they had been remembering that from which they came out, they would have had opportunity to return.
ÅB
og dersom de hadde tenkt på det som de var kommet fra, da hadde de jo hatt tid til å vende tilbake;
OTB
Hadde de tenkt på landet de hadde forlatt, ville de hatt mulighet til å vende tilbake.
B1930
og dersom de hadde tenkt på det som de var kommet fra, da hadde de jo hatt tid til å vende tilbake;

Study notes (Tyndale)

Original text and word study

Cross references