Quitting your old job seems like a very sane thing to have done. Your position now is unrelated to your position before. By that I mean quitting your job was one event, and what you did afterwards was another. If the current situation isn't working out for you, it's not because you left the previous (horrible) situation, it's that you've unfortunately found yourself in another horrible situation.
In other words, deciding to quit your old job was probably a good idea. If going freelance isn't a good idea for you it doesn't invalidate the idea of quitting your job. It just means you have to come up with a new idea.
I feel for you though man, freelancing was tough. Especially if you made as many mistakes in it as I did. From what you say however, I wouldn't have stayed very long at your old company.
In other words, deciding to quit your old job was probably a good idea. If going freelance isn't a good idea for you it doesn't invalidate the idea of quitting your job. It just means you have to come up with a new idea.
I feel for you though man, freelancing was tough. Especially if you made as many mistakes in it as I did. From what you say however, I wouldn't have stayed very long at your old company.