1 Τεκνία μου, ταῦτα γράφω ὑμῖν ἵνα μὴ ἁμάρτητε. καὶ ἐάν τις ἁμάρτῃ, παράκλητον ἔχομεν πρὸς τὸν πατέρα Ἰησοῦν Χριστὸν δίκαιον· (1 John 2:1 NA28)
1 My little Children, these things I write to you so that you do not sin. And if anyone sins, we have an advocate with the Father, Jesus Christ the Righteous. (1 John 2:1 translated from the NA28 Greek text)
Perfection is not obtainable for anyone is this life. The only perfect person who ever walked this Earth was the Lord Jesus Christ and the reason He could be perfect and was perfect is that He is deity. Part of His mission was actually to perfectly keep the Law in order to be the propitiation and only acceptable sacrifice in the Father’s eyes in place of those He came to save. We see this in the following verses.
2 καὶ αὐτὸς ἱλασμός ἐστιν περὶ τῶν ἁμαρτιῶν ἡμῶν, οὐ περὶ τῶν ἡμετέρων δὲ μόνον ἀλλὰ καὶ περὶ ὅλου τοῦ κόσμου. 3 Καὶ ἐν τούτῳ γινώσκομεν ὅτι ἐγνώκαμεν αὐτόν, ἐὰν τὰς ἐντολὰς αὐτοῦ τηρῶμεν. 4 ὁ λέγων ὅτι ἔγνωκα αὐτὸν καὶ τὰς ἐντολὰς αὐτοῦ μὴ τηρῶν, ψεύστης ἐστὶν καὶ ἐν τούτῳ ἡ ἀλήθεια οὐκ ἔστιν· 5 ὃς δʼ ἂν τηρῇ αὐτοῦ τὸν λόγον, ἀληθῶς ἐν τούτῳ ἡ ἀγάπη τοῦ θεοῦ τετελείωται, ἐν τούτῳ γινώσκομεν ὅτι ἐν αὐτῷ ἐσμεν. 6 ὁ λέγων ἐν αὐτῷ μένειν ὀφείλει καθὼς ἐκεῖνος περιεπάτησεν καὶ αὐτὸς [οὕτως] περιπατεῖν. (1 John 2:2-6 NA28)
2 And He is the propitiation for our sins, not for our sins only, but also for the whole world. 3 And this we know that we have known Him, if we keep His commands. 4 The one saying, “I have known Him” and he does not keep His commands is a liar and the truth is not in him. 5 But whoever keeps His word, truly in this one the love of God has been perfected, by this we know that we are in Him. 6 The one claiming to abide in Him ought to walk as He walked. (1 John 2:2-6 translated from the NA28 Greek text)