>>10648735Your use of "was" is grammatically incorrect here. The word you're looking for is "were".
This construction uses the subjunctive mood, which is typically used to express hypothetical or unreal situations. In English, when expressing hypotheticals, especially when they are contrary to fact or unlikely, we use "were" instead of "was" after "if" or "wish."