this concept of qismat/destiny is so freeing that whatever you couldn't achieve or get after your maximum efforts,just tell yourself that it wasn't written for you,no self-blaming, no self doubt or doubt about ones efforts, just say that Allah didn't want this for u and move on