Muslims throughout history have constructed mosques over existing temples and churches whenever they gain control over an area. There are many examples of this throughout the Middle East and Asia. I believe their purpose is to abolish any other form of worship but their's.
Care to mention a few?