Agreed but when looking at weight of a bike, ........depends how you ride and what are you looking for.
Suspension travel, geo etc. could be more important than just one wheel size.
That Whyte E180 RSX - looks like it weights 26kg !
Doesn't matter wheel sizes, the weight will be the biggest factor here
(comparing to other ebikes ~23kg)
in terms of stability weight is a positive
in terms of manoeuvrability total mass is less important than where the centre of mass is positioned both fore and aft and how high or low the centre of mass is on the bike.
In terms of acceleration a heavier bike will be slower to overcome inertia
in terms of momentum a heavier bike will maintain speed better and gain momentum with the help of gravity but lose momentum quicker if going uphill.
A heavier bike invariably enables better use of long travel suspension
So a bike optimised for gravity riding does not necessarilly benefit from being lightweight
At the end of the day the overall mass of a bike is dominated by the weight of the rider!!