Which efforts in life are useless and in vain?

Which efforts in life are useful and worth the pain?