Why threshold is set as 0.5 to decide point belongs to which class?

is it necessary to set threshold as 0.5 ? can’t be be more strict with the confidence like 0.8 or 0.9 ? Because suppose if we are dealing with cancer data set then we have to very sure that if the probability that person is not having cancerous cells must me greater than 99% as we can’t afford false negative .