There is no guarantee he will get sole custody. No one can guarantee that. He's just trying to scare you.
However, in the US parenting has a low, low threshold. Him not having a job or a house wouldn't prevent him from getting custody nor his drug use. Nor him having multiple children with...