Hi,
Somebody has been mashing up scripture and got you into a bit of a mess
A bigger chunk of the passage about the fruits of the spirit. Galatians 5.
You, my brothers and sisters, were called to be free. But do not use your freedom to indulge the flesh; rather, serve one another humbly in love. For the entire law is fulfilled in keeping this one command: “Love your neighbor as yourself.” If you bite and devour each other, watch out or you will be destroyed by each other.
So I say, walk by the Spirit, and you will not gratify the desires of the flesh. For the flesh desires what is contrary to the Spirit, and the Spirit what is contrary to the flesh. They are in conflict with each other, so that you are not to do whatever you want. But if you are led by the Spirit, you are not under the law.
The acts of the flesh are obvious: sexual immorality, impurity and debauchery; idolatry and witchcraft; hatred, discord, jealousy, fits of rage, selfish ambition, dissensions, factions and envy; drunkenness, orgies, and the like. I warn you, as I did before, that those who live like this will not inherit the kingdom of God.
But the fruit of the Spirit is love, joy, peace, forbearance, kindness, goodness, faithfulness, gentleness and self-control. Against such things there is no law. Those who belong to Christ Jesus have crucified the flesh with its passions and desires. Since we live by the Spirit, let us keep in step with the Spirit. Let us not become conceited, provoking and envying each other.
The gist of the passage - written by Paul to the church in Ephesus - is that we have been set free, and we should live by the spirit. It does not say anywhere that if you lose your self control you also lose your eternal salvation. If we live by the spirit then love and gentleness and goodness will be apparent in our lives.
In a completely different situation, Jesus uses the same metaphor. Matthew 7
“Beware of false prophets who come to you in sheep’s clothing but inwardly are savage wolves. You will know them by their fruit. Grapes aren't gathered from thorns, or figs from thistles, are they? In the same way, every good tree produces good fruit, but a rotten tree produces bad fruit. A good tree cannot produce bad fruit, and a rotten tree cannot produce good fruit. Every tree that doesn’t produce good fruit will be cut down and thrown into a fire. So by their fruit you will know them.”
It is a warning about false prophets, and advice on how to identify them: you will be able to find them out by looking at the results of their teaching.
If we squeeze these two passages together then we get the teaching that has worried you. If you take each one separately in the context it was written I think you can open the window and let your fear fly away.
Hope that helps