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.

Cross-reference

Psalm 23:5 Contrast

Psalm 23:5 describes anointing with oil and abundance — the opposite of this curse where you have olives but no oil.

Psalm 104:15 says oil makes faces shine — a blessing contrast to the curse of having olives but no oil here.

Micah 6:15 Allusion

In Micah 6:15, the same curse of treading olives without oil reappears as a judgment against Israel's injustice, reinforcing the covenant penalty.

Job 15:33 Allusion

Job 15:33 uses the same image of olive tree casting off blossoms to describe the fate of the wicked, echoing the covenant curse.