Yoga Sutras 1.25
Patanjali, explained by Swami Vivekananda
तत्र निरतिशयं सर्वज्ञत्वबीजम् ॥
tatra niratiśayaṃ sarvajñatvabījam
In Him becomes infinite that all-knowingness which in others is (only) a germ.
In plain words: In God, knowledge has no limit, while in us it is only a small seed. The teacher explains that thinking of our little knowledge makes us also think of unlimited knowledge, and yogis call that unlimited knowledge God.
Swami Vivekananda explains
The mind must always travel between two extremes. You can think of limited space, but that very idea gives you also unlimited space. Close your eyes and think of a little space; at the same time that you perceive the little circle, you have a circle round it of unlimited dimensions. It is the same with time. Try to think of a second; you will have, with the same act of perception, to think of time which is unlimited. So with knowledge. Knowledge is only a germ in man, but you will have to think of infinite knowledge around it, so that the very constitution of our mind shows us that there is unlimited knowledge, and the Yogis call that unlimited knowledge God.