"Leadership is example". To be successful, a good leader must "walk the talk".
Employees take a fraction of the time to know a leader as he /she takes to get know them.
The example you are giving is quite simply you. Whether this is a good or a bad example depends on the leader.
An example is set in verbal and non verbal ways and all aspects of a leader's words and deeds must be considered in the light of this.
If example is contagious, it is worth ensuring that a good one is set to encourage the qualities sought in others.