X と Y が名詞や名詞句となります。
もしかして X を 相手のことにして、Y を自分のことにしたら、
It wasn't you that was wrong, it was me という文章が言えます。
「あなたの資料」の場合は
It wasn't your materials that were wrong, it was me.
過去形ではない場合は
It isn't your materials that are wrong, it is me.
I thought you were wrong, but it was me who was wrong.
この場合、次のような言い方ができますよ。
ーThe mistake wasn't yours, it was mine.
「間違いはあなたのではなくて、私のでした」=「間違ってたのはあなたではなくて、わたしでした」
ーI thought you were wrong, but it was me who was wrong.
「あなたが間違ってると思ったけど、間違ってたのは私でした」
ご参考まで!