の言うことを

what [someone] says

→ の
phrase Common #2,088
what [someone] says A phrase pattern meaning “what someone says” or “what someone tells you,” with の marking the person who speaks and を marking the whole phrase as the object. In の言うことを聞く, it means “listen to what someone says” or “do what someone tells you.”
JA: 先生の言うことをよく聞いてください。
EN: Please listen carefully to what the teacher says.

トムの言うことを何でも真に受けてはいけないよ

You shouldn't take everything Tom says at face value.

以外の会員は皆トムの言うことを信用してるよ

All the members except me believe what Tom says.

トムの言うことを聞くべきだった

I should have listened to Tom.

彼は先生の言うことをあまりよく聞かない

He doesn't listen to his teacher very well.

やめろセサールの言うことを聞くな

Stop, Caesar! Don’t listen to him!

— オープン・ユア・アイズ (1997)

母さんの言うことを聞いておけばよかった

I should have listened to my mom.

両親の言うことを聞きなさい

Listen to your parents.

マダムモリブルの言うことを聞いたでしょ

You listened to Madame Morrible, didn't you?

— ウィキッド ふたりの魔女 (2024)

トムの言うことを全部信じる

Do you believe everything Tom says?

うちらの言うことを聞かなきゃいけないのよ

We have to listen to what our parents say.

彼が医者の言うことを聞いていたら今でも生きていたかもしれないのだが

If only he had listened to the doctor, he might still be alive.

誰がそう言っても、私はその人の言うことを信じない

No matter who says that, I won't believe them.

彼は先生の言うことを聴かない

He doesn't listen to his teacher.