Gifts of the Spirit Are Given for Our Benefit 

Doctrine and Covenants 46:9

9 For verily I say unto you, they are given for the benefit of those who love me and keep all my commandments, and him that seeketh so to do; that all may be benefited that seek or that ask of me, that ask and not for a sign that they may consume it upon their lusts.

President Joseph Fielding Smith said:

“The Lord will give us gifts. He will quicken our minds. He will give us knowledge that will clear up all difficulties and put us in harmony with the commandments that He has given us; He will give us a knowledge that will be so deeply rooted in our souls that it can never be rooted out, if we will just seek for the light and the truth and the understanding that are promised to us and that we can receive if we will only be true and faithful to every covenant and obligation pertaining to the gospel of Jesus Christ.”

(Teachings of Presidents of the Church: Joseph Fielding Smith [2013], 236.)