The word "spoiled" means that something about the pot made the potter unhappy. This can be stated in active form. AT: "the pot that the potter was making with his hands was not good" (See: [[rc://en/ta/man/translate/figs-activepassive]])
Here the word "eyes" represents sight and sight represents one's opinion. AT: "that he thought was good" (See: [[rc://en/ta/man/translate/figs-metonymy]])