The correct statement is: Terrestrial planets are more dense, in part because they have so much more mass.
Terrestrial planets (like Earth, Mars, Venus, and Mercury) are dense due to their rocky compositions and metals, whereas gas giants (like Jupiter and Saturn) are composed mostly of lighter gases and ices, which leads to lower overall density despite their larger mass.