Exactly. Which is why the Vatican’s Doctrinal Commission into the Vatican Approved Catholic Charismatic Renewal states:
We can ask for the higher gifts of the Holy Spirit (which Saint Paul tells us to do in scripture), if our hearts are in the right place. For Saint Paul then adds: ‘The greatest gift is love. For all the greatest gifts of tongues/ prophesy, without love, are but sounds.’
And Jesus Himself says that without love, the higher gifts are nothing; ‘For in the end will also come those who say: Lord did we not cast out demons in Your Name; heal the sick in your Name, and preach in Your Name?’ But the Lord will say; I tell you solemnly; I never knew you, when I was hungry you gave Me nothing to eat, when I was thirsty you gave Me nothing to drink, when I was naked you did not clothe Me, and when I was in prison you did not visit Me, whatever you did to the least of your brethren, you also did to Me.’
The apostles were approached by Simon the Magician who came to them with a bag of money, asking could he buy the Baptism in the Spirit, and Peter replied to him: ‘Get behind me satan, that you think you could buy the Holy Spirit. I perceive that there is a demon of pride in you, and if you do not repent and amend your ways, you will be lost.’ (Simon did not have love of God, or of his neighbour, he wanted the Holy Spirit’s gifts to be admired by others for the miracles he would do).
So Saint Paul and Jesus clearly tell us, love is the most important thing, and if we have love in the right place (love of God and love of neighbour), then we can follow Saint Paul’s advice: ‘to seek the higher gifts.’ (as the Vatican Doctrinal Commission recommends).
See this document for the Vatican’s Doctrinal Commission on the Catholic Charismatic Renewal on praying for the higher gifts of the Holy Spirit