Greek temples were not places of worship but the house of a god or goddess like an Egyptian temple. Those were built to house the cult statues of the deities and the various gifts offered to them by the worshipers. Ordinary Greeks weren’t debarred from entering a temple.