Yōga Sūtras
Yōga Sūtra 1.26
पूर्वेषामपि गुरुः कालेनानवच्छेदात्।
HE is the teacher to ancients as well, as he is not seperated by the divisions of time.
On more attribute of īśvaraḥ, He is beyond time. Hence, he is the teacher to all previous beings as well.