We are commanded to…avoid having fellowship with the unfruitful works of darkness  (Ephesians 5:11)

And have no fellowship with the unfruitful works of darkness, but rather reprove them.