without achievement or result
Marge's time in jail wasn't all for naught – she earned a college degree while she was there. Usage notes: sometimes, in less formal use, nothing is substituted for naught: I would hate to think that what we'd tried to do was all for nothing.