Matthew effect refers to the achievement of success and progress in a particular area (such as money, fame, status, etc.) , which creates a cumulative advantage for any individual, group, or region, there will be more opportunities to achieve greater success and progress.
The statement 'The state has always invested heavily in the construction of famous schools. Schools that invest heavily in hardware and software will have a hard time not continuing to be elite' is not a Matthew effect according to the above definition.