I wanted to walk out of my job today
Why did you want to walk out of your job?
Because I think my coworkers are idiots.
It is understandable that you may not like your job or your coworkers, but you should not walk out on your job. It is irresponsible to leave your job without giving prior notice.
They can find someone else and I don't really care.
There are lots of jobs available now, so if yours is awful, you should find a new one. But it's best to give some notice so you don't get a reputation as irresponsible. You might need a reference.