One of the things to understand when you are job hunting is that there will be a lot of disappointments.
If you understand this, you will be in a good position to get back on your feet and stay persistent if you do not land the job.