Anyone who does what is good is from God. The following is an incomplete list of 17 sinful works of the flesh, along with the original Greek words and their definition. The Bible warns that persons with these kind of lifestyle acts will not inherit the kingdom of God. So, read them carefully and take a self examination of your own life. The word adultery does not necessarily refer to sex, but deals primarily with the betrayal of a sacred covenant and commitment.
Heresy is a term which can describe false teachings, but it means even more than that.
It goes without saying, this is an extremely serious warning. If one's lifestyle consists of works of the flesh, there's only one thing can detour their dreadful destination. They must repent and forsake a lifestyle of sin, to turn about and live for the Lord. Any person who truly repents and becomes born-again, is empowered by the Spirit of God to walk in a new lifestyle. Instead of justifying continued sinful behavior, persons who wish to follow Christ must forsake a lifestyle of sin and walk in the newness of Christ's life.