Can I use the preposition "to" after the word "instead" in a sentence?
Example: let's say I'm in a situation where I bought an used computer that gave me a lot of problems and I want to say the following:
I think I should have bought a new computer instead to avoid problems
I'm asking this question because I recently had an English Exam and my teacher corrected my sentence to
I think I should have bought a new computer instead of avoiding problems
I think the phrase "instead of avoiding problems" does not make much sense in my sentence.