How would I make this command not attack the person using it?

execute if score @s matches 9 run damage @n 1 magic at ^10 ^ ^
Continue to help post