In Luke chapter 1 (niv) we read about the foretold birth of Jesus,and the foretold birth of Elizabeth's son John.
When Mary went to visit her relative Elizabeth, and greeted her, it is written that The baby leaped in her womb and Elizabeth was filled with the Holy Spirit.In the same passage of scripture Luke 1:44,Elizabeth informs Mary that,
"As soon as the sound of your greeting reached my ears,the baby in my womb leaped for joy."
The baby leaped for joy in Elizabeth's womb before Elizabeth had been filled with the Holy Spirit and it is written in Galatians 5:22 that Joy is a "fruit of the spirit."
Joy (Greek: chara, Latin: gaudium) See also: Eudaimonia
The Greek word for 'joy' is chara, derived from the word charis, which is the Greek word for 'grace.' This is significant to note, for chara is produced by the charis of God. This means 'joy' is not a human-based happiness that comes and goes but, rather, true 'joy' is divine in its origin. It is a Spirit-given expression that flourishes best in hard times. For example, in,1 Thessalonians 1:6 the Thessalonians were under great stress due to persecution; yet in the midst of it all, they continued to experience great joy. The Greek strongly implies that their supernatural joy was due to the Holy Spirit working in them. Paul even called it the "joy of the Holy Ghost".
According to Nehemiah 8:10, "The joy of the Lord is your strength", which may be further understood to mean properly as "the awareness (of God's) grace, favor; joy ("grace recognized")". (1)
Did the baby in Elizabeth's womb actually receive the "fruit of the spirit" which is joy, before Elizabeth was filled with the Holy Spirit.
(1) Wikipedia