Leviticus 26:34-35
26:34 “‘Then the land will make up for its Sabbaths all the days it lies desolate while you are in the land of your enemies; then the land will rest and make up its Sabbaths.
26:35 All the days of the desolation it will have the rest it did not have on your Sabbaths when you lived on it.