The 37-year-old had opened her campaign defeating Rebecca Peterson in three sets.
The American player has been forced to withdraw from the Miami Open due to a left knee injury.
The 23-time Grand Slam victor released a statement explaining her decision to pull out of the Masters 1000 event.
With Williams's withdrawal, Qiang Wang reaches the fourth round and she will face Danielle Collins or Yafan Wang next. "It was an wonderful experience to play at the Hard Rock Stadium this year and I would like to thank the Miami Open for putting on an unbelievable event. I hope to be back next year to play at this one-of-a-kind tournament in front of the incredible fans here in Miami".
Serena Williams of the US returns a shot during her women's singles match against Kaia Kanepi of Estonia on Day 7 of the 2018 US Open at the USTA Billie Jean King National Tennis Center on September 2, 2018 in New York City.
Jury finds Monsanto’s Roundup weed killer major factor in California man’s cancer
While calling evidence of a glyphosate link to cancer "shaky", he has also said the company seemed callous about the possibility. Chhabria has scheduled another bellwether trial for May and a third trial is likely to take place this year.
Serena Williams withdrew from the WTA and ATP Masters Miami Open on Saturday with a left knee injury.
Wang will automatically advance to the fourth round.
Williams, who is ranked No. 10 in the world, last won the Miami Open in 2015 and past year lost in the first round to Naomi Osaka, who beat her again at the U.S. Open and took over the world No. 1 ranking.
Following the win against Peterson, Williams confirmed she had been struggling with illness.
"I'm not really thinking about my match too much today. I wasn't really happy with my performance", she said. Her last title was at the 2017 Australian Open before she took an extended maternity leave later that year. But I'm through it. "That's that. I just got to get my game back to where I know it can be".