The act of one who errs; sin.
using the wrong general approach to a particular task or problem; pursuing something in an unpromising way