Jewish Publication Society of America Version (JPS1917) - Deuteronomy 28:40 >

Thou shalt have olive-trees throughout all thy borders, but thou shalt not anoint thyself with the oil; for thine olives shall drop off.

King James Version (KJV) - Deuteronomy 28:40 >

Thou shalt have olive trees throughout all thy coasts, but thou shalt not anoint [thyself] with the oil; for thine olive shall cast [his fruit].

Berean Study Bible (BSB) - Deuteronomy 28:40 >

You will have olive trees throughout your territory but will never anoint yourself with oil, because the olives will drop off.