put the cart before the horse

📖 general
Meaning
to do things in the wrong order or to confuse priorities
Literal Meaning
to place the cart before the horse, which is illogical
Example
“By trying to sell the product before it was even developed, they really put the cart before the horse.”