Deuteronomy 28:41 in the King James Version
Thou shalt beget sons and daughters, but thou shalt not enjoy them; for they shall go into captivity.
Context
40 You will have olive trees throughout all your borders, but you won’t anoint yourself with the oil, for your olives will drop off.
41 You will father sons and daughters, but they will not be yours, for they will go into captivity.
42 Locusts will consume all of your trees and the fruit of your ground.