The Agra D’Kalah teaches that the Ten Commandments are a synopsis of the entire Torah, and the last commandment, that you shall not desire the wealth of another man is a summary of the Ten Commandments. [Thus, the last commandment is a review of the entire Torah – That you should be satisfied with what Hashem gives you].
You must believe that Hashem gave you exactly which is best for you. If he didn’t give you wealth, it means that is what is best for you. With this emunah, you won’t desire the portion of others, since why should you desire what isn’t good for you? ~ R’ Elimelech Biderman Shlita