Erikoさんの英文で大丈夫ですが、the word I wanted to say「言いたい単語」のように言うともっと自然になりますよ。
ーI couldn’t come up with the word I wanted to say.
「言いたい単語が出てこなかった」
ーI couldn't think of the word I wanted to use.
「使いたい単語が考えつかなかった」
think of で「考えつく・思いつく」
ーI couldn't think of what I wanted to say.
「言いたいことが思いつかなかった」
このように to come up with の代わりに to think of を使ってもよく言いますよ。
ご参考まで!
その時に使える自然なフレーズとして、**"I couldn’t come up with the word."** はとても良い表現です。
このフレーズでは:
* **come up with** は「思いつく」「口に出す」などの意味です。
* **the word** は、「その言いたかった特定の単語」という意味になります。