whip something into shape
whip (someone or something) into shape
To return someone or something into acceptable condition or behavior, especially through direct, efficient, and practical means. The president won the election on his promise to whip the economy into shape by overhauling outdated or inefficient legislation. What he really needs is a mentor who will whip him into shape.