I answer that, Some have erred on this point, saying that God knows things other than Himself only in general, that is, only as beings. For as fire, if it knew the nature of heat, and all things else in so far as they are hot; so God, through knowing Himself as the principle of being, knows the nature of being, and all other things in so far as they are beings.
But this cannot be. For to know a thing in general and not in particular, is to have an imperfect knowledge. Hence our intellect, when it is reduced from potentiality to act, acquires first a universal and confused knowledge of things, before it knows them in particular; as proceeding from the imperfect to the perfect, as is clear from Phys. i. If therefore the knowledge of God regarding things other than Himself is only universal and not special, it would follow that His understanding would not be absolutely perfect; therefore neither would His being be perfect; and this is against what was said above (Question [4], Article [1]). We must therefore hold that God knows things other than Himself with a proper knowledge; not only in so far as being is common to them, but in so far as one is distinguished from the other. In proof thereof we may observe that some wishing to show that God knows many things by one, bring forward some examples, as, for instance, that if the centre knew itself, it would know all lines that proceed from the centre; or if light knew itself, it would know all colors.
Now these examples although they are similar in part, namely, as regards universal causality, nevertheless they fail in this respect, that multitude and diversity are caused by the one universal principle, not as regards that which is the principle of distinction, but only as regards that in which they communicate. For the diversity of colors is not caused by the light only, but by the different disposition of the diaphanous medium which receives it; and likewise, the diversity of the lines is caused by their different position. Hence it is that this kind of diversity and multitude cannot be known in its principle by proper knowledge, but only in a general way. In God, however, it is otherwise. For it was shown above (Question [4], Article [2]) that whatever perfection exists in any creature, wholly pre-exists and is contained in God in an excelling manner. Now not only what is common to creatures--viz. being---belongs to their perfection, but also what makes them distinguished from each other; as living and understanding, and the like, whereby living beings are distinguished from the non-living, and the intelligent from the non-intelligent. Likewise every form whereby each thing is constituted in its own species, is a perfection; and thus all things pre-exist in God, not only as regards what is common to all, but also as regards what distinguishes one thing from another. And therefore as God contains all perfections in Himself, the essence of God is compared to all other essences of things, not as the common to the proper, as unity is to numbers, or as the centre (of a circle) to the (radiating) lines; but as perfect acts to imperfect; as if I were to compare man to animal; or six, a perfect number, to the imperfect numbers contained under it. Now it is manifest that by a perfect act imperfect acts can be known not only in general, but also by proper knowledge; thus, for example, whoever knows a man, knows an animal by proper knowledge; and whoever knows the number six, knows the number three also by proper knowledge.
As therefore the essence of God contains in itself all the perfection contained in the essence of any other being, and far more, God can know in Himself all of them with proper knowledge. For the nature proper to each thing consists in some degree of participation in the divine perfection. Now God could not be said to know Himself perfectly unless He knew all the ways in which His own perfection can be shared by others. Neither could He know the very nature of being perfectly, unless He knew all modes of being. Hence it is manifest that God knows all things with proper knowledge, in their distinction from each other.