You can get a sealer that will really help prevent that.
I’m curious, how does a sealer prevent cracking.
There are many reasons why cement cracks, a poor/wrong mix is one, how it cures, thickness is another, ground heaving, improper soil preparation, rebar placement and there are probably others.
Our ground up here moves a lot during the seasonal changes which is our number one reason for cracking. I knew guy that put zero rebar in a basement. After a year there were 1/2 inch gaps in the basement cracks.
To prevent cracking from ground heaving, a nearby air base runway, they removed the soil 8 feet down and back filled it with a uniform aggregate and compacted to a certain specification, then poured the concrete over it.