mất công

Etymology
🇰🇲.

Verb

 * 1)  to put one's effort (into something that turns out to useless or not needed)

Adjective

 * 1)  useless