Let us keep in mind that when buying a house, especially for a young couple, the source of the money makes a huge difference.
Parents/grandparents will often, be only too happy to help out with a large chunk of the down payment, knowing that it will be a safe and solid investment for years to come. But if the couple asks for money to invest in the stock market so they will have savings 20 years down the line, the parents will be less inclined to help.
Same thing if the down payment is coming partially/wholly from Gemachim (very common in Israel to do such a thing). A gemach isn't interested in your savings fund but will help if you are using it to buy an apartment.
That being so,the purchase of a house will often be the only real option of maximizing the available monies.