As for you, the anointing which you received from him remains in you, and you don't need for anyone to teach you. But as his anointing teaches you concerning all things, and is true, and is no lie, and even as it taught you, you will remain in him.
There is a parallel between what John urged his readers to do in this section of his epistle and what Moses commanded the Israelites to do. In both cases the holiness of God demanded that those who came into the closest and most intimate contact with God, in the Tabernacle and in the church, be holy. Moses advocated renouncing sin, obeying God, rejecting worldliness, and keeping the faith in the "Covenant Code" (Exodus 20-23; Exodus 25-31), the "Priestly Code" (Exodus 35 -Leviticus 16), and the "Holiness Code" (Leviticus 17:10 to Leviticus 25:55). John similarly urged his readers to renounce sin (1 John 1:8 to 1 John 2:2), to obey God (1 John 2:3-11), to reject worldliness (1 John 2:12-17), and to keep the faith (1 John 2:18-27). In both cases the prophet’s concern was that those believers under their care would be holy as God is holy (Leviticus 11:44-45; Leviticus 19:2; Leviticus 20:7; 1 Peter 1:15-16). Holiness is imperative for God’s people to "know," "see," and "have fellowship with" a holy God (cf. Hebrews 12:10-14).