YOU SAID:
I ate the dustbin when I died in it
INTO JAPANESE
私がそれで亡くなったときに私はゴミ箱を食べた
BACK INTO ENGLISH
I ate the garbage box when I died with it
INTO JAPANESE
私はそれで死んだときに私はゴミ箱を食べた
BACK INTO ENGLISH
I ate a garbage box when I died with it
INTO JAPANESE
私はそれで死んだときに私はゴミ箱を食べた
BACK INTO ENGLISH
I ate a garbage box when I died with it
That didn't even make that much sense in English.