Fetching details from the dictionary...
to sacrifice something small in order to save something great; to lose a leg to save one's life; to kill a small bug and save a large one