You have spelled the word correctly for the meaning it has in your sample sentence. Therefor is a different word.
Here is a previous thread that discusses the difference: therefor therefore If it doesn't answer your question, you are welcome to add to the end.
I am closing this one.