For me it is better to save money because if you are going to save a lot of money for sure you are going to have a purpose to invest.
But if you are going to invest money and you don't have savings then that is going to be a problem after all.
Because you don't have back up funds for your investment if ever it is going to fall.