That is the nature of scientific research.
Our ancestor has advise us, the "journey of a thousand miles, begin with a single step". If we keep progressing, one day we could get there.
Unlike progress in quantum communications and metrology, it is possible that quantum computer could never be realized. But even so, it is not all in vain.
Because like in chinese classic novel "jorney to the west", it is not necessary the destination you reach that count, it is more about the trail and tribulation in the journey. Because everyone would die someday, it is the life journey, and what we learn and did along the way, that is meaningful. Similaraly, what research has found even if it is unsuccessful, would be meaningful.