の言ったこと

what someone said

→ の
phrase Very common #586
what someone said Attach の before 言ったこと to show whose words or statement you mean. In the examples, the verb may also appear as 言うこと, meaning “what someone says” or “what someone tells you.”
JA: 先生の言ったことを覚えています。
EN: I remember what the teacher said.

トムの言ったこと全然理解できなかったんだ

I couldn't understand what Tom was saying at all.

先生の言ったことがわかりません

I don't understand what the teacher said.

トムメアリーの言ったことなんて気にしない

Tom doesn't care what Mary said.

トムの言ったこと本当です

What Tom said is true.

どう見てもあの人の言ったこと真実のようだ

No matter how you look at it, what that person said appears to be true.

トムの言ったことなんて気にしなくていいんだよ

You don't need to worry about what Tom said.

キャサリンの言ったこと本当だった

What Catherine said was true.

その人の言ったことさっぱりわからない

I don't understand a thing that person said.

私はただトムの言ったことを信じなかっただけだ

I just didn't believe what Tom said.

本当にそれがトムの言ったことなの

Is that really what Tom said?

トムメアリーの言ったこと信じていなかった

Tom didn’t believe what Mary said.