丟了西瓜撿了西瓜皮
[diū le xī guā jiăn le xī guā pí]
Literal translation is 'losing the melon, getting only its rind'. Metaphorically, this represents gaining little value after making a significant loss—a classic case of prioritizing minor gains over crucial elements, often due to carelessness or bad choices.