you thought wrong: estabas equivocado/pensaste mal. person 1: i did n’t know i had to pay you back. person 2: well, you thought wrong.
You thought wrong: You were mistaken/Thought differently. Person 1: I didn't know I had to pay you back. Person 2: Well, you were mistaken.