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

26 And the LORD said If I find in Sodom fifty righteous within the city then I will spare all the place for their sakes
26 And the LORD said, If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes.