"He that keepeth his commandments receiveth truth and light, until he is glorified in truth and knoweth all things. Man was also in the beginning with God. Intelligence, or the light of truth, was not created or made, neither indeed can be. All truth is independent in that sphere in which God has placed it, to act for itself, as all intelligence also; otherwise there is no existence. Behold, here is the agency of man, and here is the condemnation of man; because that which was from the beginning is plainly manifest unto them, and they receive not the light. And every man whose spirit receiveth not the light is under condemnation. For man is spirit. The elements are eternal, and spirit and element, inseparably connected, receive a fulness of joy; and when separated, man cannot receive a fulness of joy. The elements are the tabernacle of God; yea, man is the tabernacle of God, even temples; and whatsoever temple is defiled, God shall destroy that temple. The glory of God is intelligence, or, in other words, light and truth" (D&C 93:28-36).God organized us and taught us the plan that would allow us to progress and gain intelligence like His. Regardless of our starting intelligence or ability, we are able to grow and progress in this life and in the eternities (more so in the next life) to become like our Father. Again, I will repeat this point because it is important: regardless of our starting intelligence we can progress and gain intelligence like God's! That is quite the blessing.
We add to our intelligence by study. How much we know is a component of intelligence. As we study, especially by faith, we gain more light. This light will be spiritual; it will also be temporal. The power of faith rends through the inky shroud of ignorance. It helps truth resonate in our minds and our spirits. I believe that much of the truths we discover in this life are actually un-covered, or more accurately, re-membered - brought back again to our memories. That is why some truths and knowledge resonate with us - we knew it in our life before this life. There are great blessings promised to those who seek and gain more intelligence. Pay attention to the key words in this passage:
"Whatever principle of intelligence we attain unto in this life, it will rise with us in the resurrection. And if a person gains more knowledge and intelligence in this life through his diligence and obedience than another, he will have so much the advantage in the world to come. There is a law, irrevocably decreed in heaven before the foundations of this world, upon which all blessings are predicated—And when we obtain any blessing from God, it is by obedience to that law upon which it is predicated" (D&C 130:18-21; emphasis added).
The key words were diligence and obedience but the key word is obedience. We gain knowledge and intelligence through diligence and obedience - in fact we obtain all blessings from God by obedience. Knowledge and intelligence are blessings from God; He is the source of all Truth. As we are obedient to the principles and ordinances of the gospel we obtain more light and truth. As we are obedient to our pursuit of knowledge and intelligence, we will be blessed accordingly.
Link to part 1 of this essay.