Double-minded
Here’s what it means
To be unstable because loyalty and trust are divided.
Why the Bible says it this way
James describes a person trying to face two directions instead of trusting God wholeheartedly.
An idiom is a familiar phrase whose meaning comes from the whole expression, not from reading each word by itself.