のは賢明だった

it was wise to

→ の
phrase Uncommon #15,057
it was wise to Follows a clause to say that the action described was wise or prudent.
JA: 早めに予約したのは賢明だった。
EN: It was wise to book early.

彼があんなに早く出発したのは賢明だった。

It was wise of him to leave so early.

君が傘を持って行ったのは賢明だった。

It was wise of you to take an umbrella.

彼がそれに関与していないのは賢明だった。

It was wise of him not to get involved in it.

彼女が早く家を出たのは賢明だった。

It was wise of her to leave home early.

君が彼に助けを求めたのは賢明だった。

It was wise of you to ask him for help.

君が彼の忠告に従わなかったのは賢明だった。

It was wise of you not to follow his advice.