proverb

To throw straws against the wind.

vain

said to mean

To do something in vain; to attempt something futile.