Put the cart before the horse

Meaning: To do things in the wrong order.

Example: Buying expensive equipment before finding customers is putting the cart before the horse.