What is the version of the following sentence with correct punctuation?

1743 The Philistine said to David Am I a dog that you come to me with sticks The Philistine cursed David by his gods
17:43 The Philistine said to David, "Am I a dog, that you come to me with sticks?" The Philistine cursed David by his gods.