You shouldn't walk out on your job.
Tony has been working a new job for a few months and is growing to hate it.
Tony wants to quit his job.
Tony puts in his two week notice.
Tony gets fed up and walks out of his job.
Tony's employer offers him a severance package and encourages him to use them as a reference for his next job.
Tony gets blacklisted in his industry for leaving his job in an unprofessional manner.