No, DEFINITELY NOT.

Children will be unhappy when they are disciplined - should you therefore avoid it? Of course not.