Specifications for motherboard are:
Support for DDR4 2666/2400/2133 MHz memory modules.
If you install faster memory, it will be limited to 2666MHz. This is a limitation of the H370 Chipset. You would want a Z370 Chipset motherboard for 3000MHz memory.