Where Actions Speak Louder than Words

I think Mark Twain had something to do with that title quote but I’m unable to find a source for the saying “do as I say and not as I do”. The latter is often referred to as a statement in hypocrisy. Yet Dr. Samuel Johnson, a moralist and great contributor to English literature in the 1700s cautioned readers to  tread lightly when charging others with hypocrisy.