But wanting the carrot and not wanting to get hit are both kinds of discontent. The donkey is dissatisfied at not having the carrot so it pulls the cart that would otherwise be still.