The walls of Babylon were impenetrable , and the only way into the city was through one of its many gates or through the Euphrates , which ebbed beneath its thick walls . The famed walls of Babylon were indeed impenetrable , with the only way into the city through one of its many gates or through the Euphrates , which ebbed beneath its thick walls .