Indexing does not remove systematic risk as another commenter mentioned, but there are things one can do to help deal with timing, such as dollar-cost-averaging.