By "bad works" you mean sin...right ?
Paul did write that those who walk after the flesh, (sinners), will not inherit the kingdom of God.
Gal 5:19-21..."Now the works of the flesh are manifest, which are these; Adultery, fornication, uncleanness, lasciviousness,
20 Idolatry, witchcraft, hatred...