If you run out of moves in Solitaire and there are no more cards to draw from the stockpile, then the game is over and you have lost. The goal of Solitaire is to move all cards to the foundation, so if you can't make any more moves, you cannot achieve this goal.