There are two reason why the knowledge of the divine persons was necessary for us. It was necessary for the right idea of creation. The fact of saying that God made all things by His Word excludes the error of those who say that God produced things by necessity. When we say that in Him there is a procession of love, we show that God produced creatures not because He needed them, nor because of any other extrinsic reason, but on account of the love of His own goodness. So Moses, when he had said, "In the beginning God created heaven and earth," subjoined, "God said, Let there be light," to manifest the divine Word; and then said, "God saw the light that it was good," to show proof of the divine love. The same is also found in the other works of creation. In another way, and chiefly, that we may think rightly concerning the salvation of the human race, accomplished by the Incarnate Son, and by the gift of the Holy Ghost.
St. Thomas Aquinas, ST 1.32.1 ad 3