can i get pregnant from this

so last night my boyfriend and i were doing foreplay to try and get me wet, he didn’t have a condom on but all he did was rub his dick against my vagina and rub it up and down he never actually put it inside me, could i still get pregnant from this because he was never inside me and never actually came he only was rubbing it up and down my vagina ? i’m really worried now