If God cannot look at sin or be in the presence of sin, how was Satan able to appear before him and ask about Job?
For reasons that aren’t revealed to us, Satan has some kind of access to God in order to accuse us. (Satan is a Hebrew word meaning accuser.) According to Rev. 12:9 Satan will be expelled from Heaven at the beginning of the Great Tribulation.