A Los Angeles judge blasted Mel B and her estranged hubby for “living beyond their means” — noting that the former Spice Girl blows more than $9,000 a month on groceries and dining out and another $1,300 on monthly entertainment expenses, court documents show.

Judge Lawrence Riff said “Scary Spice” Mel B — whose real name is Melanie Brown — and ex Stephen Belafonte enjoyed a “high upper-class life” during their nearly 10-year marriage — but that their expenses were not “entirely credible or reasonable,” the Daily Mail reported.

The former flames have been bickering in court papers about their respective finances as their bitter divorce battle wages on.

Mel B claimed her monthly expenses included $20,000 in “child care,” $5,000 in “groceries and household supplies” for a family of four, $4,493 for “eating out,” and $1,313 for “movies, shows, theme parks, etc.”

Meanwhile, Belafonte said he spent $2,300 a month on “groceries and household supplies,” $750 in cell phone expenses, $2,000 in clothes and $3,000 on “entertainment, gifts and vacation.”

But Riff said the pair should’ve kept their personal living expenses capped at $51,000 a month.

“This is at substantial variance with both parties’ income and expense declarations, that is, both parties claim far more in monthly expenses,” the judge wrote.