Stiff neck
Here’s what it means
A person or people stubbornly refused to submit, turn, or obey.
Why the Bible says it this way
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.
A helpful detail: The picture is of an animal resisting the yoke and refusing to turn.