が嫌いだった

didn't like

→ が
phrase Uncommon #15,405
didn't like The thing someone didn’t like comes before が; the person who disliked it is usually stated separately or understood from context.
JA: 子どものころ、納豆が嫌いだった。
EN: I didn’t like natto when I was a child.

くそっ、学校が嫌いだったんだ

Damn, I hated school.

— ミスティック・リバー (2003)

クッキーはご主人様が嫌いだった。

Cookie didn't like her owner.

ボクが嫌いだったからさ

Because they didn’t like me.

— ジョジョ・ラビット (2019)

昔からここが嫌いだった

I've always hated this place.

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

トムはメアリーが嫌いだった。

Tom disliked Mary.

私はおれのことが嫌いだった

I hated myself.

— ミスティック・リバー (2003)

トムはフランス語の先生が嫌いだった。

Tom hated his French teacher.

彼は学校が嫌いだった。

He hated school.

トムは初めからメアリーが嫌いだったんだ。

Tom disliked Mary from the very beginning.

ヤニーはスクーラーの彼氏が嫌いだったんだ。

Yanny hated Schooler’s boyfriend.

私は、そのころビールが嫌いだった。

I didn't like beer back then.

トムは自分が子を持つまで、子供が嫌いだった。

Tom disliked children until he had one of his own.

ヤニーはスクーラーが嫌いだったの。

Yanny hated schoolers.