The money arising from such sale shall be applied to the payment of the judgment or decree under which it may have been made.