Confuse (someone or something) with (someone or something)

To fail to distinguish between two things or people.

I always confuse our new teacher with our previous teacher. The boy confused one word with another word.