How come you want to hit on 18, soft total, against a 7 and 8, but having a 17+ in hard total, you would always stand against anything.

I get how the chance of busting is way higher when having a hard total etc., but could someone break the math behind this down?

Just looking at it, I feel the odds of getting a better hand is quite slim.

Thanks a lot in advance.