Hence the existence of a clearing house in the stockmarket: cross off debt and credit in the whole market. Every one in your story has 100 credit and 100 debt which makes them worth 0. Aligning that in the right way makes a lot of sense :-)
First time I’ve understood it intuitively