Proverbs 13:11 Wealth gotten by vanity shall be diminished: But he that gathereth by labour shall increase.
That is another way of saying, “Easy come, easy go!” If you do not earn your money you will not appreciate your money. If you get the money given to you then you will likely just be wasteful.
If it costs you nothing then it is worth nothing.
When you work hard to get something then you appreciate it. If you appreciate it then you are careful with it. So it is better not to win the lottery or strike it rich. Just work and use your money correctly!