That was how he was used like a rag, cleaned up some shit and threw it away. That was how he was used like a satchet of something or an empty can of a drink and dumped in a waste bin.
Inside the dust bin, he’s looking for money to save himself from the shame, what a shame! in the pursuit for money in a useless and shameful way. What a shame!