に来ただけだ

just came to

→ に
phrase Rare #26,457
just came to Used after a verb stem to say that someone came only to do something. The polite form is に来ただけです.
JA: 彼は謝りに来ただけだ。
EN: He just came to apologize.

おやすみ言いに来ただけだ

I just came to say goodnight.

— TITANE/チタン (2021)

私はその事実を君に知らせに来ただけだ

I just came to let you know that fact.

彼は女の子を彼女の家に連れて帰るために来ただけだ

He just came to take the girl home.

— バジュランギおじさんと、小さな迷子 (2015)

さて聞け奴らがただ歌いに来ただけだとしたら

Now listen—what if they came here just to sing?

— 罪人たち (2025)