The liquids can be compressed to a large extent, expand a lot on heating, and are not rigid at all.
The gases can be compressed to a large extent, expand a lot on heating, and are not rigid at all.
Hence, the given statement is false.
Gases expand to a large extent when heated.