They still needed to return to water to lay their shell-less eggs, and even most modern amphibians have a fully aquatic larval stage with gills like their fish ancestors.
ðeɪ stˈɪl nˈiːdᵻd tə ɹᵻtˈɜːn tə wˈɔːɾɚ tə lˈeɪ ðɛɹ ʃˈɛllˈɛs ˈɛɡz, ænd ˈiːvən mˈoʊst mˈɑːdɚn æmfˈɪbiənz hæv ɐ fˈʊli əkwˈæɾɪk lˈɑːɹvəl stˈeɪdʒ wɪð ɡˈɪlz lˈaɪk ðɛɹ fˈɪʃ ˈænsɛstɚz.