This world exists only to bring about Hashem’s eternal purpose.
There is no need to be upset about whether or not you have money. Even with money, you could waste away your days. The world deceives us completely. It makes us think we are constantly gaining but we end up with nothing. People spend years working to make money, but in the end, when they come to the final reckoning, they are left with nothing in their hands. Even when someone becomes rich, in the end he is taken from his money.
People and wealth cannot remain together. Either the money is taken from the person or the person from his money. No one has ever stayed with his money.
Rebbe Nachman in Sichot HaRan #51