Anything new under $500 will be department store junk.
As is always the case with these types of threads...You want to start your budget around $1000 for a new hardtail or half that for good used hardtail.
$500 or less new mountain bikes will be a pile of junk