Hi Laoise,
Here is the Kwiziq lesson about the 'ne explétif' used with expressions like 'avant que' -
and another one explaining the 'ne explétif itself -
https://kwiziq.learnfrenchwithalexa.com/revision/grammar/how-to-understand-the-ne-expletif
Hope this helps!