The stock market has a number of essential components without which it could not exist, all of which support it's role in allocating capital. If there was no secondary market to sell their stock to, someome might not invest in the first place. If there were or were not market manipulators cheating others out of money, that would make no difference as to whether someone invested in a company.