Projection

Attributing one’s own traits and qualities (often negative) to another person.