Walking developed before fish moved onto land fish. Fish that live in shallow water crawl along the bottom instead of swimming becasue, because it is easier to sneak up on prey and hide from predators that way and it disturbs the water less than swimming, there. There are several modern fish that do this.
LIkeLike many brackish water fish they also could already breath air. Brackish water tends to be low on oxygen while air is always high.
Resources may have been plentiful in water but so was competition and predators.
forFor vertebrates there waswere no predators on land, there was food that no other fish were eating, there was access to new pools of water, ectetc. It was a completely open environment full of resources that had not evolved alongside them (thus had few defenses), no competition (the advantage of being the first vertebrate on land) and it was completely free of predators that is the like eden for an organism, there. There would be a huge selective advantage in exploiting it. You may want to familiarize yourself with adaptive radiation in general if you don't understand this.
Further reading: