Not have a pot to piss in (Vulg.)
(See: Not have a red cent to one's name)
Origin
In medieval times, people did not have indoor plumbing. It was common to
use a chamber pot as an indoor toilet. The chamber pot could then be
dumped out a window into the street gutter below. A person who did not
have a "pot to piss in" was poor indeed