Perhaps from G1 (as a negative particle) and the base of G3313; properly to miss the mark (and so not share in the prize), that is, (figuratively) to err, especially (morally) to sin: - for your faults, offend, sin, trespass.
Meanings (from Abbott-Smith's lexicon)
1.to miss the mark (in Homer, Aeschylus and others), hence figuratively (in Homer and others), to err, do wrong.
My little children, these things write I to you, that you sin not. And if any man sin, we have an advocate with the Father, Jesus Christ the righteous:
ἁμάρτητε·hamartēteyou may sin;V-2AAS-2PG264ἁμάρτῃ,hamartēshall sin,V-2AAS-3SG264
If any man see his brother sin a sin which is not to death, he shall ask, and he shall give him life for them that sin not to death. There is a sin to death: I do not say that he shall pray for it.