Another way to say "All this work can amount to nothing." is "It could be useless to put all this effort into this project!"