Deuteronomy 28:30

30 aYou shall betroth a wife, but another man shall ravish her. bYou shall build a house, but you shall not dwell in it. cYou shall plant a vineyard, but you shall not enjoy its fruit.

Deuteronomy 28:38-39

38 dYou shall carry much seed into the field and shall gather in little, for ethe locust shall consume it. 39 fYou shall plant vineyards and dress them, but you shall neither drink of the wine nor gather the grapes, for the worm shall eat them.
Copyright information for ESV