Visas pūles likās veltīgas.
All his efforts seemed to have been wasted.