An example of vain is a promise that someone doesn't intend to keep.
An example of vain is an attempt to prune a bush only to have it removed the following day.
An example of vain is a person who constantly talks about how good looking they are.
A vain attempt.
Vain toil; a vain attempt.
A vain endeavor.