頑張ってきたこと のことにも寄りますが
科目のことであれば subject と言う単語を使うと良いです。
一般的であれば thing だけ使えます。
「中学校生活で頑張ってきたことは勉強です」
"The thing I worked hard on during my secondary school life is studying"
- "What I have worked hard on during my junior high school life is ~."
「頑張ってきたこと」を英語で表現する場合、**"worked hard on"** や **"put effort into"** を使うと自然です。どちらも「努力する」「一生懸命取り組む」という意味があります。「中学校生活で」という部分は、**"during my junior high school life"** や **"in junior high school"** を使って表現します。
例文
1. **"What I have worked hard on during my junior high school life is playing the piano."**
(中学校生活で頑張ってきたことはピアノを弾くことです。)
2. **"The thing I’ve put the most effort into in junior high school is studying English."**
(中学校生活で一番頑張ったことは英語の勉強です。)