GABRIEL'S words to Daniel, “unto two thousand and three hundred days; then shall the sanctuary be cleansed,” are full of meaning.
The two thousand three hundred days bring us down in the world's history to 1844. At that time there was no earthly sanctuary to be cleansed. The great temple in Jerusalem was destroyed in A. D. 70 and was never rebuilt; but the heavenly sanctuary, of which the earthly was but a type and shadow, exists beyond the reach of man.
The priests in the earthly sanctuary served unto the example and shadow of heavenly things. Heb. 8:5. Therefore, by studying the work of the priests in the earthly sanctuary, we may comprehend the work of our great High Priest in the heavenly sanctuary. The priest went always into the first tabernacle accomplishing the service of God. But into the second went the high priest alone once every year not without blood which he offered for himself and for the errors of the people. Heb. 9:6, 7. The yearly service was conducted by the priests in the first apartment. On the last day of the year the high priest passed the second vail and officiated before the mercy seat in the most holy place. This service in the most holy place was called the cleansing of the sanctuary; and the tenth day of the seventh month, on which the service was performed, was called the day of atonement. Lev. 16:29, 30.

On the day of atonement the sins of the people that had been transferred to the sanctuary during the year were removed from the sanctuary, by the high priest and placed upon the head of the scape goat. The scape goat was then led away into thep. 74 wilderness, thus forever removing the sins from the people of God. That was the type.
When we confess our sins our great High Priest in heaven presents His blood before His Father in the heavenly sanctuary. Our sins are forgiven and we are free. But the record of those sins is preserved in the heavenly sanctuary. Before the Lord comes for His people, the record of all the sins they have committed will be blotted out of the books of heaven. This will require the examination of the books of heaven. It will be the investigative judgment, or in other words, the cleansing of the sanctuary.