This is the literal statement of the holy scripture, and it informs us that animals were not necessarily and in their primary cause created for their own sake, but for the sake of mankind and to act as the servants of men; and when the men were destroyed, it followed necessarily and naturally that they also should be destroyed with them, as soon as the men, for whose sake they had been made, had ceased to exist. But as to the hidden meaning conveyed by the statement, since man is a symbol for the intellect which exists in us, and animals for the outward sense, when the chief creature has first been depraved and corrupted by wickedness, all the outward sense also perishes with him, because he had no relics whatever of virtue, which is the cause of salvation.
The Midrash of Philo 7:2
The Midrash of Philo 7:2