score:8
The Catholic Church teaches in the Catechism of the Catholic Church that prophecy is a gift:
CCC 2004 Among the special graces ought to be mentioned the graces of state that accompany the exercise of the responsibilities of the Christian life and of the ministries within the Church:
Having gifts that differ according to the grace given to us, let us use them: if prophecy, in proportion to our faith; if service, in our serving; he who teaches, in his teaching; he who exhorts, in his exhortation; he who contributes, in liberality; he who gives aid, with zeal; he who does acts of mercy, with cheerfulness.1
1. Rom 12:6-8.
This article Prophecy | New Advent says:
Answer
From the foregoing, it is clear the gift of prophecy is an extraordinary grace bestowed by God upon whomever he chooses however unworthy (who is ever really worthy) they may be.
Did God create people to be prophets? God chooses or using Biblical and Church language, God chooses and calls whomever he chooses to whatever ministry he calls them to and this includes the prophetic ministry2.
Does God choose people to be prophets based on good works? From the foregoing, no he doesn't. Even devils may be the recipients of prophecy.
The initiative is always God's, his choice free and not dependent in any way on the recipient or their merits.
2. cf. Jn 15:15-17, I Cor:1:2, etc.
Endnote
In Num 11:29 Moses wished:
29 But Moses said to him, βAre you jealous for my sake? Would that all the Lordβs people were prophets, that the Lord would put his spirit upon them!β
Thanks to the gift of God the Father through His Son, Jesus, by the working of the Holy Spirit, all the baptized share in the prophetic mission of Christ beyond Moses' expectations.
CCC 1268 The baptized have become "living stones" to be "built into a spiritual house, to be a holy priesthood."3 By Baptism they share in the priesthood of Christ, in his prophetic and royal mission. They are "a chosen race, a royal priesthood, a holy nation, God's own people, that [they] may declare the wonderful deeds of him who called [them] out of darkness into his marvelous light."4 Baptism gives a share in the common priesthood of all believers.
3. 1 Pet 2:5.
4. 1 Pet 2:9.