We propose here a new approach to stabilize the cubic zinc-blende (ZB) phase by incorporation of impurities into a compound that has a hexagonal wurtzite (WZ) ground state. For GaN, we suggest that this can be achieved by adding 3d acceptors such as Zn, Mn, or Cu because the p-d repulsion between the 3d impurity levels and the valence band maximum is larger in the ZB phase than in the WZ phase. This makes the top of the valence states of the ZB structure higher than that of the WZ structure. As holes are created at the top of the valence states by the impurities, it will cost less energy for the holes to be created in the ZB structure, thus stabilizing this phase. Our first-principles total energy calculations confirm this novel idea.