Why is 95 Mazda millenia not starting?

Mazda Millenia 95 not starting put another motor in it just turning over?

its probably the distributor is bad.