The Cup is destroyed in Chapter 24: "The Wandmaker" (titled "The Trio, the Monster, and the Deathly Hallows" in some editions). Exact page numbers vary by edition, but the event occurs near the end, just before Harry's final confrontation with Voldemort.