Please add punctuation to this: But it prevents her course not from feeling lonely

Punctuation version:
But it prevents her course, not from feeling lonely.