By this we know that we love the children of God when we love God and keep his commandments

What is the correctly punctuated version of this sentence?
By this we know that we love the children of God, when we love God and keep his commandments.