Yeah.
Players lose and "DM win" is the same, the players fail a reasonable challenge because the DM's strategies were better than the players' ones (or simply lucky).
That doesn't mean TPK, but probably no XP (at least less than if they had succeeded).
However, in a typical D&D campaign, the...