Set one’s face toward/against
Here’s what it means
Someone firmly decided to go in a direction, pursue a course, or oppose a person or place.
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 expression describes settled purpose, not merely the direction someone happened to be looking.