Parallel
James 4:17
Nestle 1904 Greek New Testament · Berean Standard Bible
εἰδότι οὖν καλὸν ποιεῖν καὶ μὴ ποιοῦντι ἁμαρτία αὐτῷ ἐστιν
Anyone, then, who knows the right thing to do, yet fails to do it, is guilty of sin.