Get to level ten to win
Click on the pickaxe to mine, then sell the things that you mine. Save up until you can buy miners or auto drills. Once you get enough cash, you can move to the next level!
When you move to the next level, you loose your auto drills and miners. However, it does give you another mine, which increases your diggings by 5x!