describes
the attempt to create something refined or valuable from apparently unsuitable or inferior materials, often an exceptionally difficult undertaking.
Imagine a case where try to produce something good using cheap material.; then “Make a silk purse out of a sow's ear” fits well.