I applied for an tenure-track assistant professor job at my Alma mater but got rejected. One of the professors on the searching committee later told me that I am more qualified for the job than the candidates they finally hired. The reason I got rejected was that another professor, whom I had conflicts with when I was doing my PhD, tried very hard to convince the Dean not to hire me.
I feel so defeated and disappointed by how these kind of politics dictate the entire academia, and how little credits are given to people who are actually qualified for the job. Does anyone have similar experience and do you mind sharing some survival tips?