housing is definitely a thing -- arguably the largest / main use of a credit score.
clearances don't apply to the population on the whole -- you have to willing apply to a cleared role. and you're going to be spending the gov's money and handling secrets, it makes sense to see if they can handle said money, cuz if they can't they'll sell secrets
I've never heard of a pre-emplyment check requiring a credit score. sexually harassing a fellow employee and getting fired will not end up on your credit as long as you can pay bills, and even if you can't, the lack of bills is what shows up, not bad work behavior