emotional and sad is the worst thing that you can do so suggest you to control yourself better.
the last thing you should ever do is jumping to a random conclusion or simply leaving your job right away. you should never make that mistake. don’t do something that you might have to regret for in the future.
it is, of course, a great idea to change your career if you don’t want to do this immediately. you can work things out if you just give yourself some time and be alone. see where you have gone wrong and what works out best for you.
always ask your boss to explain every criticism. you 