Is the negative sentence right or wrong?
They know grammar well. → They don't know grammar well.
Important to remember!
The auxiliary verb "does" takes the ending -s in the third person singular (he, she, it) from the main verb, and the main verb remains unchanged:he likes → he doesn’t like