It's not good to (do something).

You can talk about things that people shouldn't do like this:

It's not good to eat right before you go to sleep.

It's not good to lie to people.

This phrase usually works for giving people general advice.

This phrase appears in these lessons: