1224 David comforted Bathsheba his wife and went in to her and lay with her She bore a son and he called his name Solomon Yahweh loved him

What is the correctly punctuated version of this sentence?
12:24 David comforted Bathsheba his wife, and went in to her, and lay with her. She bore a son, and he called his name Solomon. Yahweh loved him;