How to remove squares in grid?

How do I change from image 1 to image 2.

Either simply click on the grid icon in the Scene view’s toolbar to hide the grid completely or edit the grid settings and change the grid size for bigger values.

I mean getting rid of these lighter lines.