proverb

To pour water into a sieve.

vain

said when

Someone spends time or energy trying to do something that is useless