Purity and holiness (Christ-likeness) is not achieved by legalism or licentiousness but rather by spending time with Jesus and becoming more like Him. When we do so we live a life of love because He is love, we walk in the light because He is light and we live wisely because He is truth.