Sin is lawlessness (hē hamartia estin hē anomia). The article with both subject and predicate makes them coextensive and so interchangeable. Doing sin is the converse of doing righteousness (1Jo 2:29). The present active participle (poiōn) means the habit of doing sin.