My study bible says:
'And fire' Here, fire is associated with judgment(v.17)
Which is correct.
Luke 12:49-50 Disciples’ Literal New Testament (DLNT)
49 “I came to cast fire upon the earth; and how I wish that it were already kindled! 50 But I have a baptism to be baptized; and how I am held by it until it is accomplished!
Luke 3:17-18 Whose winnowing-tool is in His hand so as to clean-out His threshing floor and gather the wheat into His barn; but He will burn up the chaff with an inextinguishable fire”. So indeed, while also exhorting many other things, he was announcing-good-news-to the people.
This is good-news folks! Why? You are wheat/grain (baptized into Christ via the Holy Spirit) still growing inside a hull/chaff of a fleshly body who one day will be gathered into His barn.
It's good-news because It's also associated with the purification of that which is Holy (His temple) but yet still has some impurities (chaff). But one-day, the wheat will mature and will be harvested and the chaff will be separated from the grain and the grain will enter His barn. And it's done By Him, not us!
1 Corinthians 3:15-17 If one’s work shall be burned-up, he will suffer-loss. But he himself will be saved, yet so as through fire. Do you not know that you are God’s temple and the Spirit of God is dwelling in you? If anyone ruins the temple of God, God will ruin this one. For the temple of God is holy— which you are!
We are (have been that is) baptized with the Holy Spirit (a born from above, new creation we are). We are wheat growing in His field waiting to mature, dry-up and be harvested and be separated from our fleshly bodies (our hull/chaff). Yet our old sinful flesh (our tent, our hull, even Paul's) still causes us to not be totally pure. But no worries, on that one-day, Judgment Day, there will be an hour within it, where we will be "baptized with fire" by Him and purified totally.
Revelation 14:14-16 And I saw and behold— there was a white cloud, and one sitting on the cloud resembling a son of man, having a golden crown upon his head and a sharp sickle in his hand. And another angel came out of the temple, crying-out with a loud voice to the one sitting on the cloud, “Send your sickle and reap, because the hour to reap came, because the harvest of the earth was dried-up”. And the one sitting on the cloud cast his sickle over the earth, and the earth was reaped.
Revelation 22:10-12 10 And he] says to me, “Do not seal the words of the prophecy of this book, for the time is near. 11 Let the one doing-unrighteousness still do-unrighteousness. And let the filthy one still be-filthy. And let the righteous one still do righteousness. And let the holy one still be made-holy. 12 ‘Behold— I am coming quickly. And My recompense is with Me, to render to each one as his work is.