First of all, congratulations on reaching your goal, many have started and never reached where you are now.
Second.....unfortunately life has nothing to do with fairness. Literally thousands of pilots worldwide develop medical issues every year.
A certain percentage will be career ending.
You currently hold an EASA medical, I would expect certain countries would not even consider giving you a medical. China is famously difficult with aviation medicals.
Your save and grace is the experience that you have. That is valuable.
Do not give up at this stage but consider broadening your search to include airline training departments. Ground school instructor and simulator instructor.