Vocabulary

湯を沸かして水にする

wasting one's efforts; rendering one's efforts futile

expression