means that
a gift should be accepted graciously rather than examined for faults or assessed solely by its value.
When you should not question or grumble about the quality or usefulness of something given to you for free., the saying “Never look a gift horse in the mouth” is appropriate.