Luck forms a very tiny percentage of how things turn out for you. Most of the times, your success is determined by hard work and persistence, as long as giving up is not an option for you then you are in the track to success, it might not happen now but its inevitable that things will turn out just fine for you