YOU SAID:
I went to the store to get some ham.
INTO JAPANESE
ハムを買いに店に行きました。
BACK INTO ENGLISH
I went to the store to buy ham.
INTO JAPANESE
私はハムを買いに店に行きました。
BACK INTO ENGLISH
I went to the store to buy ham.
That didn't even make that much sense in English.