Quality is free. It's not a gift, but it's free. What costs money are the unquality things -- all the actions that involve not doing jobs right the first time.
Around computers it is difficult to find the correct unit of time to measure progress. Some cathedrals took a century to complete. Can you imagine the grandeur and scope of a program that would take as long?