What does the idiom "ball and chain" mean?

I heard that it means "spouse (in a pejorative way) or a burden." But I read a sentence in a book as follows: "... I have decided not to grow up tame like the others who lay their necks on the threshold waiting for the ball and chain." What does it mean?
11 answers 11