How does God distribute spiritual gifts?

No matter how much we have been gifted with one gift or another, we are all called upon to develop a number of areas mentioned in the lists of spiritual gifts: to be hospitable, to show acts of mercy, to serve one another, to evangelize, etc.
As we seek to serve God out of love for the purpose of building up others for His glory, He will bring glory to His name, grow His church, and reward us (1 Corinthians 3:5-8, 12:31–14:1). God promises that as we make Him our delight, He will give us the desires of our heart (Psalm 37:4-5).
This would surely include preparing us to serve Him in a way that will bring us
purpose and satisfaction.