Just goes to show we never know where the Liar will pop up and undo our best laid plans. :(
There is not much you can do about those things that are beyond your control. I know when I was in the throws of long term job search, doing consulting, odd jobs, whatever I could, such setbacks often made me feel slightly hopeless.
Trick is to do what we can do while we wait on the Lord to do only what He can do. Keep that job search active, do the networking w/ everyone you can..not to lament, but to inquire of better things out there... finding work, is a full time job...and it sucks. :(
Meanwhile, Keep the Son in your eyes. Prayers that you open yourself and spend enough "quiet" time in prayer and listening to his "still, quiet voice" so you hear whatever guidance He is ready to provide you. God will never let us down...just doesn't always give us what we want when we need it.
Lord, in your Mercy, hear our prayers for our friend.