Here's the answer:
“no tenía la intención de herirte”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- no tenía intención de herirte
Fun fact: the hundreds of thousands of people learning Spanish with Memrise get this phrase correct 94.94% of the time!