People come and go in life. Only Allah decides who stays and who goes. Don't lose focus when things don't work out. You won't be sad when people go if you place your hopes in Him.
Don't forget that when life gets hard and you feel like giving up, there's a future that you haven't seen yet. Stay strong, believe in yourself and never stop moving forward.
Sheikh of Islam Ibn Taymiyyah,may Allah have mercy on him,said:
From the Sunnah of Allah: That if he wants to show his religion,he who opposes it stands up in the right of his words,and he throws the truth over falsehood in his mind ,so if he is lazy
Read the signs when the Almighty’s telling you to move on. Don’t put a question mark where He has put a full stop. It’s not in our capacity to fully understand all that’s going on; but know that He will heal the pain and mend the heart.