Job, like many Christians, loved God, he must have known him intimately to really love him that much. This happens thru the Holy Spirit and feeling the fruits of Him, Galatians 5:22-23:
"But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith, Meekness, temperance: against such there is no law."
Imagine each of these fruits of the Holy Spirit, and then realizing they all are God, he is someone you can love and trust, a Good being, a Father who cares for and loves his children.
Job must have known that Satan didn't like him, but for the judgment of Satan, God let Satan smite Job. And I think Job must have understood that Satan needed to be judged and bound and cast out for the good of Job's brothers and sisters, so in a way Job carried his own cross and his children were killed and he was given boils, etc.
Each of us that are afflicted by Satan in a way, when God saves us in an innocent sacrifice, this all goes to the judgment of Satan. He is the accuser of his brethren, attempting to say to God that man is not worthy to be saved. And God said he will save us because he loves his children.
So Satan keeps on building up his own judgment which ultimately will result in him being bound a thousand years, loosed for a little season and then cast into the lake of fire. And for some reason this must be done.