The eight-time world squash champion, who announced her retirement last week, lost 1-3 (11-9, 4-11, 4-11, 5-11) to the world number five.
? Hear from @NicolDavid after the 8x World Champion made her final World Champs appearance
— PSA World Championships (@PSAWorldChamps) February 26, 2019
The Malaysian icon lost out to @CamilleSerme at @ChiUnionStation pic.twitter.com/lz1LR9zzZj
She had overcome Menna Nasser and Millie Tomlinson in the first two rounds to reach the third round.
"It's been so great to be part of this major event," David told the PSA's official website after the game.
"It’s our first $1 million event and I got a chance to play in it, which is great.
"Squash has come a long way, so to get this far is a thrill for me. With my last Worlds I gave it my all and I’ll take whatever I got and I really enjoyed my match today."
2005 - ?
— PSA World Tour (@PSAWorldTour) February 26, 2019
2006 - ?
2008 - ?
2009 - ?
2010 - ?
2011 - ?
2012 - ?
2014 - ?
But all good things must come to an end ?@NicolDavid addresses the crowd at @ChiUnionStation after her final ever @PSAWorldChamps #SquashSupers pic.twitter.com/Hgtxj74pj1
As for Camille, it was a strange experience to beat David, which was only her third win in 19 meetings against the Malaysian squash queen.
"She beat me so many times and of course she is a legend and it’s an honour to be her last match at the World Championships.
"She’s such a fighter, even in the last game, I was 6-0 up, I had really good length and she came out firing and I thought she could come back, so I had to push really hard," she said.