What is the meaning of [Beggars can’t be choosers.]

People who depend on the generosity of others can’t pick & choose things as per their liking. They’ve to accept what is given to them.

Example: X: I borrowed this jacket from my friend, but it’s not one of his nice ones. Y: Well, but, beggars can’t be choosers.