Not true. There are good software companies in India to whom you can outsource your work and be somewhat confident that it's done in a reasonable manner.
Many people won't go to them because they are not cheap.
Part of the problem is also the relationship between the managers and the outsourced programming team.
If you spend time in terms of vetting the team for people you are comfortable with, take the time to be as clear and detailed as possible with the requirements, have a good continuous build system so that you can see the software being developed daily, and have direct, continuous communication channels to the coders, one would have a far better experience.
Many people won't go to them because they are not cheap.