Both 2D and 3D have their own perks.
2D games are more difficult to make as they have to come to par with 3d games in respect to their gameplay experience, since 3d games are modeled in 3d-modelling software such as DAZ3D, Blender, etc.
There're few good 2d games like SummerTime Saga, Demon Deals, Milf Plaza, What a Legend, and a few more.
Even not all 3d games are good, there are few S-tier 3d games such as Eternum, Such a Sharp Pain, Chasing Sunsets, Ripples, and a few more.