From Saadi’s Bustan (my version):

I garnered for myself fruit I did not eat;
helpless as death nears, I leave it behind.