This helps me: God's commitment to you is greater than the experiences of perceived "success" or "failure."
His grace is sufficient and it is His unmerited love that brings success. People may cheat, but God will grade. Just as a professor can choose how to grade a paper, it is God who perfectly judges our efforts. Therefore, do not let what people say determine if you are "doomed to fail" or "succeed." All things are possible with God, in Christ, who gives us strength. Was Jesus' going to the cross a failure, a rejection only? Rather, did God not have a better plan than man? As a Christian, this is what I need to remember.
Does being a Christian mean that I am perfect? nope. Does it mean that I know the plan? nope. Does it mean that I am the best one for a particular career choice, etcetera? Being a Christian means my chief purpose is to trust and obey God (empowered by His Spirit). In the words of a wise Christian woman: Many times, the end is a beginning in disguise.
For instance, see Jesus on the cross.
.......................................................
My short answer is: A perceived rejection/failure situation may not be as bad as you understand it to be, even though the feelings are very real. Give the perceived and actual pain to God. (Forgiveness can be hard; God can help with that, too.)