自分のことを棚に上げる(じぶんのことをたなにあげる)

Japanese vocabulary

Meaning: to ignore one's own shortcomings; to shut one's eyes to one's own faults; to act hypocritically

See it used in real works