Getting a different engine is the right call.
With metal shavings all over you would be looking at a complete rebuild, and for an engine that in that shape the cost would be in the thousands.
Even if you were able to completely rebuild the engine yourself, and had access to a machine shop the cost of parts would would far exceed what you can find a used engine for.



