How does the sentence end?

The shopper picked out the vegetable and not the fruit he wanted because the
fruit was moldy.