Recommendations for 9mm handgun?

im looking for the best 9mm handgun i can get with the price range roughly $300-$500. reliability is a big factor. My buddy has a SIG 229 but i know thats pretty expensive ($800). Correct me if im wrong.

Please see the tacked threads at the top of the forum.

The short answer is either a 9mm Glock or M&P.