Society does define deviance. This is why we have rules/laws. The Ten Commandments have been around for thousands of years. Thou shalt not kill. Thou shalt not bear false witness against others (lie). Thou shalt not commit adultery. Thou shalt not steal. Thou shalt not covet any property belonging to your neighbor. Thou shall honor thy father and mother. These commandments apply to all society regardless of your religious beliefs.
Other laws are created as time evolves and as needs arise. Internet safety and credentials to carry concealed weapons, etc. haven't always been around as the technology hasn't until recently been advanced or the need to protect oneself with a deadly weapon wasn't applicable. New laws dealing with profane language in public places are popping up all over since people now are not as careful with their speech as was once expected. As society falls deeper into moral degradation, so must new laws and rules be put into place to protect society as a whole from those who chose not to treat others as they would be treated--with honor, respect, love, and integrity. The media, movie and music industry is largely at fault for displaying deviant behaviors and justifying it to society until society as a whole considers the behavior acceptable.
Knowing what is right, and then not doing it, would be considered sin or deviant behavior. This would largely depend on your belief system, your values and morals as you have learned them from your family. What is deviant to you may not be deviant to someone you know.