What is the meaning of [Empty bags cannot stand upright.]

A poor or hungry person cannot discharge his duties well.

Example: You cannot expect poor people to fight for climate change, because empty bags cannot stand upright. They need to first fulfill their basic needs.