We require to do both at the same time,investement cannot be done if you havent saved before so both should be done and we must realise when is the time for investement and how much we should should keep in our savings account.
Investment must have sources to be start off so make a way to make first a source of income to make a savings and therefore make an investment.
Doesn't need to be focus on maximizing the source of income as long as the investment is taking care properly it will give decent income on regular basis and with the result, people can save money on a regular basis too.