Despite his efforts in vain, he couldn't get the project off the ground.
She felt like all her hard work in vain when the project was canceled.
He spent hours trying to fix the issue, but it was time in vain.
She hoped in vain that he would change his mind, but he never did.
Despite her prayers in vain, the outcome remained the same.