Is there something wrong with the Mexican government?

Mexico is a very rich and beautiful country and I wanna move there its a great vacation spot but there must be something wrong because theres alot of poor people over there coming to America and I was wondering does their government even help them with financial aid,health care and is there any good job opportunities? It seems their government aren’t helping the poor.Because many Mexicans are looking for that here in America.