It is the best if you are doing both. That will be very good. If you are saving money than you can have always money in the future.
If you are investing than you can earn some good money. If it all goes right. And there is chance with investing that you also can lose some money.