Investors & landlords

If I purchase another property of equal or higher value will this prevent the Capital gains?