This is something parents tell their kids when they do something they say not to do. Non-parent people might call this "hypocrisy", but parents usually aren't so forthright. Of all of the things my parents told me, "do as I say, not as I do" is, without a doubt, the least compelling.