Set a bad example is an expression you may use.
set an example:
To do somethingset a good or actbad example . Behave in a way other will orthat should emulate; to act as a model for others(or will) be imitated, good or ill.as in
- Dad was always telling Bill to set a good example for his younger brother, or John, please don't curse like that when you're angry—it setsThey were afraid of setting a bad example for the kidsother nations/. I try to set an example for my employees by always arriving to work on time, replying to emails and phone calls promptly, and taking care of problems as they arise.. [Late 1700s]
(The Free DictionaryAHD)