to put the cart before the horse
Hiring staff before having the budget is putting the cart before the horse.
—Why did the plan fail? —They put the cart before the horse, without a clear foundation.
Launching the product without testing is putting the cart before the horse.