The wealthy Muslims enter Jannah later because they have more to answer for. Their wealth also means they have more money to give for charity, and charity is one of the greatest deeds.
So, it is a balance, and it would not be correct to make a blanket statement that being poor is better than being wealthy or vice versa. If you are able to be responsible for your wealth and give charity and keep it halal, wealth is good for you. If you will not be able to do that and will fall into sin because of the wealth or misuse it, it is better to be poor.
Another disadvantage of wealth is that it can distract you from the akhirah more. On the other hand, for some people, being poor will make them ungrateful to Allah.
There is no one-size-fits-all answer. And Allah knows best.