Making husband unfriend someone

Is it wrong if I make my husband stop talking to one of his friends because he’s a toxic friend. He’s single and loves to party. My husband and I have one baby and another on the way. He always pressures him to go out, sends him inappropriate pictures of girls, etc. I’ve had enough and I want him to stop talking to him all together. Am I wrong for that?