putting the cart before the horse; mistaking the means for the end; getting one's priorities backwards