What is the meaning of [A drowning man will clutch at a straw]

“A man in extreme difficulty will try anything which seems to offer even the slightest help to extricate himself.” (Paczolay, 1997 p. 384)