It's hard to predict exactly. Sometimes the stranger might be a catalyst for personal growth, or it could just be a brief encounter that has little impact. It really depends on the author's creativity and the story's direction.
There were a few novels that could be recommended, including " I was dumped at the beginning, I got billions in cash " and " After being dumped, I became a billionaire." These were all novels about urban life. They told the story of the protagonist who obtained a magical system after being dumped by his girlfriend and began to turn his life around. These novels might fit your needs for the main character to be dumped.
The protagonist of " I Have a Future Technology System " was a senior high school student named Ye Yu. He started a different life because he obtained the future super intelligent brain. He relied on his inhuman mind and hard work to reach the peak step by step. If you like science and technology, I recommend you to read this book.
I recommend the book, I Don't Want to Be as Rich as a Nation, to you. The protagonist of this urban novel had a huge family fortune, but in order to escape the family's arrangements and material constraints, he chose to pretend to be an ordinary student in school. However, his girlfriend eventually left him because she despised him for not having money. If you want to read through the inner pain of this novel, this book would be a good choice. I hope you like my recommendation, Mwah ~😗
If you like this type of novel, I recommend the following two to you: "Ex-Wife Has a Big Boss Group" and "Ex-CEO Please Let Go." The former described how the female protagonist was abandoned by her ex-husband and jumped off the Lijiang Bridge after being framed by a mistress. She turned around and became the envy of others. The latter told the story of the female protagonist being broken up by her boyfriend during university. Then, it was discovered that her boyfriend was the president, so she agreed to marry another president's ex. However, the ex came back and put the female protagonist in a dilemma. I hope you like my recommendation. Muah ~