Read this from the notes of the Geneva Bible -1587. (The English Bible of the Puritans)
I Thessalonians 5:22 - (13) Abstain from all (h) appearance of evil.
(13) A general conclusion, that we waiting for the coming of Christ, do give ourselves to pureness in mind, will, and body, through the grace and strength of the Spirit of God.
(h) Whatever has but the very show of evil, abstain from it.