Your options are:
- Don’t buy them
- Buy them but just accept that all the permeable bits of them (stitching, vents, etc) are going to go gradually grey, brown or whatever colour your local dirt is
- Be completely obsessive about keeping them clean and wear them only indoors, under shoe covers, or on days when the roads have been swept and there is 0% chance of rain. Warning - this way is doomed to fail at some point, even if you don’t screw up then pets, children and team mates have a sixth sense for these things and will find a way to ruin your immaculate shoes.