we only know what is revealed in Scripture concerning the hedge that was around Job.
We need to keep in mind that we tend to focus on the physical (that which we can see) and are unaware of the spiritual realm.
Here is a record in 2 Kings 6 which might help explain things we cannot see as far as God protecting us ...
2 King 6:8-17
8 Then the king of Syria warred against Israel, and took counsel with his servants, saying, In such and such a place shall be my camp.
9 And the man of God sent unto the king of Israel, saying, Beware that thou pass not such a place; for thither the Syrians are come down.
10 And the king of Israel sent to the place which the man of God told him and warned him of, and saved himself there, not once nor twice.
11 Therefore the heart of the king of Syria was sore troubled for this thing; and he called his servants, and said unto them, Will ye not shew me which of us is for the king of Israel?
12 And one of his servants said, None, my lord, O king: but Elisha, the prophet that is in Israel, telleth the king of Israel the words that thou speakest in thy bedchamber.
13 And he said, Go and spy where he is, that I may send and fetch him. And it was told him, saying, Behold, he is in Dothan.
14 Therefore sent he thither horses, and chariots, and a great host: and they came by night, and compassed the city about.
15 And when the servant of the man of God was risen early, and gone forth, behold, an host compassed the city both with horses and chariots. And his servant said unto him, Alas, my master! how shall we do?
16 And he answered, Fear not: for they that be with us are more than they that be with them.
17 And Elisha prayed, and said, LORD, I pray thee, open his eyes, that he may see. And the LORD opened the eyes of the young man; and he saw: and, behold, the mountain was full of horses and chariots of fire round about Elisha.
vss 6-10 – the king of Syria warred with Israel and the man of God (the prophet) warned the king of Israel so he escaped the king of Syria and, according to vs 10, the king of Israel escaped more than a couple of times.
vss 11-12 – the king of Syria thought there was a spy in his midst who warned the king of Israel but his men told the king that Elisha the prophet warned the king of Israel.
vss 13-14 – the king of Syria ordered his men to go fetch Elisha ... he sent a "great host" and surrounded the city where Elisha was.
vs 15 – the servant of Elisha saw the Syrians had surrounded the city and was frightened. He went to Elisha ... "Alas! what shall we do"???
vs 16 – Elisha told his servant not to fear ... "for they that be with us are more than they that be with them". The servant could not see the host that was "with them" ... all he saw was the Syrian army which encompassed the city.
vs 17 – Elisha prayed that God would open the eyes of his servant. God honored Elisha's prayer and his servant saw "horses and chariots of fire round about Elisha".
Bottomline ... there are things going on around us of which we are wholly unaware. That is why we are warned in Ephesians 6:12 that we wrestle not against flesh and blood, but against principalities, against powers, against the rulers of the darkness of this world, against spiritual wickedness in high places.
we need to wake up to the spiritual warfare going on ...
According to Job 1:1, Job was perfect and upright, and one that feared God, and eschewed evil.
my understanding is that Job lived before the time of Moses.
https://www.gotquestions.org/when-did-Job-live.html
satan was aware of the hedge around Job ...
Job 1:10 Hast not thou made an hedge about him, and about his house, and about all that he hath on every side? thou hast blessed the work of his hands, and his substance is increased in the land.
Job remained steadfast in faith during his time of trial ... Job held on to what he knew from God. Job is a great example to us in our day and time as we go through the trials of this life.
Romans 15:4 For whatsoever things were written aforetime were written for our learning, that we through patience and comfort of the scriptures might have hope.
.
I believe you've miss understood here, a hedge of protection clearly speaks of safeguard a barrier and protection, from evil, where by a person is able to listen to God directly, and then live with God and only God. Job also makes reference that nothing could influence Job whilst job was under that hedge of protection,
God describes job as blameless and upright, which means God knew his heart and Job must have lived a life according to Gods moral principles,
Now I brought the twelve tribes of Israel into it because we see Exactly how God talks to people whilst there under a hedge of protection with him, and how he guides them to live by his moral principles, also this is the connection I was refering to,
Now half of those men became upright and entered the promised land half of them didn't.
Now the half who didn't had a hedge of protection no doubt shielding them l from evil, where by only there own sin could be there own fault, and it was decided that their will could not be changed and God left them in the desert.
So whilst
@Genez may say sin is not evil, and satan is only evil who causes sin, it can't be so, because God had a hedge of protection over 600.000 men, protecting them from evil, whilst there corrupted free will continued to take no notice by there own accord.
But the other 600.000 men did take notice. So what caused there will to be changed ?