Zig-when-one-should-zag Definition

verb

(idiomatic) To misstep or err.

I started off right, but then I zigged when I should have zagged and ended up with a mess.
Wiktionary