The ないほうがいい grammar point is used to suggest that it's better not to do a certain action. It is formed by taking the negative form of the verb and adding ほうがいい.
構造
パターン
{Verb-negative form} + ほうがいい
Verb-negative formThe negative form of the verb.
例: 飲まない (nomanai), 走らない (hashiranai)
ほうがいいIndicates that it's better not to do something.
例:
例
例 1
この薬は飲まないほうがいいです。
Kono kusuri wa nomanai hou ga ii desu.
It's better not to take this medicine.
分解
tokengloss
例 2
急いでいるときは、走らないほうがいい。
Isoide iru toki wa, hashiranai hou ga ii.
When you're in a hurry, it's better not to run.
分解
tokengloss
例 3
彼に秘密を知られたくなければ、話さないほうがいい。
Kare ni himitsu o shiraretakunakereba, hanasanai hou ga ii.
If you don't want him to know your secret, it's better not to tell him.