Yes, but the way shares work is that someone paid either the original founders or the company itself for a share, then someone paid that person, and so on. The current shareholders are certainly profiting, but they exist only because the company needed them to exist in order to create the company as it is now.