What is has already been, and what is to be has already been; and God seeks out what has been driven away.
In context
13and also that every man should eat and drink and see good in all his toil — this is God’s gift. 14I have come to know that whatever God does will last forever: nothing can be added to it and nothing taken from it; and God has done it so that men should fear before him. 15What is has already been, and what is to be has already been; and God seeks out what has been driven away. 16And again I saw under the sun: in the place of judgment, wickedness was there; and in the place of righteousness, wickedness was there. 17I said in my heart, “God will judge the righteous and the wicked, for there is a time there for every matter and for every deed.”