の言うとおりだ

is right, just as … says

→ の
phrase Uncommon #12,613
is right, just as … says The part before の identifies whose words or opinion are being agreed with.
JA: 君の言うとおりだ。
EN: You’re right.

トムの言うとおりだ。

Tom is right.

彼女の言うとおりだ

She's right.

— M - Eine Stadt sucht einen Mörder (1931)

ガウラの言うとおりだ

Gaura is right.

— Article 15 (2019)

たぶん彼の言うとおりだ

He’s probably right.

— エブリシング・エブリウェア・オール・アット・ワンス (2022)

彼女の言うとおりだ。

She's right.

彼の言うとおりだよ

He's right.

— ライフ・イズ・ビューティフル (1997)