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