By the way Teleya, there’s something a bit more subtle that I wish someone would have told me when I started learning French:
There is something tricky called the “ne explétif”, which is basically when you use “ne” without “pas” after it - effectively the opposite of the situation you’ve described.
It serves no grammatical purpose, but is considered “more elegant” after certain phrases that require the subjunctive:
« Arrête, avant que le professeur n’arrive ! »
I spent the first few years of my French study not knowing what the hell that little “ne” meant, so I hope it helps you too!
If you want to learn more, just search « ne explétif ».