agile makes it better, but I have also seen stories changed
during the sprint and previous work wasted. Sometimes the higher level management still say no go of an implemented product simply because customer requirements changed or when they realize the project is a mistake.