What happened here were not random events; these were examples of predestination. What was written in the Tablets as something that will miss you will not hit you; and what is meant to hit you will not miss you no matter how fast you run or where you hide. Hitler never ran from his assassins. If you read about all the murder attempts that were planned for him you will know he was mostly oblivious to them. He knew people wanted him dead, but not where and what time exactly. He escaped death because death was not meant for him in those occasions. By the same token you can chase after something and put so much effort and time and money into it but if it was not meant for you it will never be yours.
The world is never yours to begin with. It belongs to the Mighty King. Work for what you want sincerely (for the Mighty King watches all) and place your hope for success in Him alone. Lift the burden of worry from your chest and rest assured that if what you work for does not end up on your lap, something indefinitely better will. Do work, though. Not making any effort for what you want can incur Allah’s wrath but the key here is sincerity, and faith in the Mercy of the Mighty King. It is His will, after all, and He is the Master and you the servant. He owns you. He provides for you. Those who believe in Him have absolutely nothing to fear (Please also read my previous entry on divine preordainment)
The great prophet Muhammad (PBUH) also advised (on the authority of Abdullah bin Abbas, who said : One day I was behind the prophet and he said to me):
"Young man, I shall teach you some words [of advice] : Be mindful of Allah, and Allah will protect you. Be mindful of Allah, and you will find Him in front of you. If you ask, ask of Allah; if you seek help, seek help of Allah. Know that if the Nation were to gather together to benefit you with anything, it would benefit you only with something that Allah had already prescribed for you, and that if they gather together to harm you with anything, they would harm you only with something Allah had already prescribed for you. The pens have been lifted and the pages have dried." (Narrated by Tarmizi).
Essentially this is what the Islamic concept of tawakkal is: complete trust in Allah. Allah says ‘And whoever fears Allah - He will make for him a way out and will provide for him from where he does not expect. And whoever relies upon Allah - then He is sufficient for him. Indeed, Allah will accomplish His purpose. Allah has already set for everything a [decreed] extent’ (65:2-3).
Go up your career ladder, or make as much money as you want - but do it sincerely, only for Allah and never trample over other people or take them for a fool (for Allah will be on their side). If Allah has not decreed something for you, with your thankful heart He will put in its place something better. Indeed, my brothers and sisters in Islam '...rely upon Allah . And sufficient is Allah as Disposer of affairs' (4:81).