A bible verse about how something might appear to others?

I know there is a bible verse that addresses not doing things that might appear to have the wrong intent, or be sinful. The verse is specifically directed at being careful to put the right appearance on things. I just can’t remember where it was.

1 Thessalonians 5:22
Abstain from all appearance of evil.