So YHWH said to Moses, "Take Joshua the son of Nun, a man in whom is the Spirit, and lay your hand on him."
Numbers 27:18

The #holyspirit was active long before Pentecost, just like the #torah existed long before Sinai.