physician, heal thyself
One should attend to one's own flaws or defects before presuming to advise others about theirs.
“You are really as bad as Margaret,” she declared. “There is nothing the matter with me. You talk of ‘curing’ me as though I were ill. Physician, heal thyself.”