The three parts of the hiring decision…
1) Do you have the minimum requirements for the position and what additional value do you bring to the role?
2) Can they afford you? Are you going to be happy with the total compensation package?
3) Do they like you? People hire people they like. Most often, the most qualified doesn’t get the offer.