Saudi contract

I have a question, what if i didnt finished my contract in saudi. Whag will gonna happen? Tia

You haven't given any details i.e. do you have an Iqama or not, how long was the contract for, how much time you have worked etc.

But generally speaking, your employer may not accept your resignation and not issue you a final exit visa if you don't pay back some of their costs for getting you there.