Adults, be it teachers, parents, whomever, are NOT infallible.
Teaching by example should include adults owning up to mistakes & apologizing to children where it is warranted, without it being seen as an admission of failure, but rather an acknowledgment that to err is human.