Three reasons.
- Good creatures may aid the party at least some of the time. Hence, their combat statistics matter.
- Good spellcasters may use spells which summon or conjure good creatures. That requires combat stats.
- There can be times where you have Good vs Good conflicts. Rare, and difficult to write, but they exist.
Hence, from a game design standpoint, at least having a modest effort at designing good creatures is still useful, if your game includes any of: powerful good creatures aiding PCs, PCs summoning good creatures, or the possibility of two good beings coming to blows.
For an example of the latter, consider a falling-out between two different groups of good deities, who disagree about the correct path forward to resolve a problem. Maybe one side thinks direct action right away is absolutely necessary, while the other side thinks caution and patience are absolutely necessary. Regardless of who is right or wrong, it is at least
possible that they could come to blows, if the "act NOW!" side forces the issue while the "no WAIT!" side tries to force them to wait. Again, easily becomes "one side was stupid (reckless or irresolute), the other smart" or other weak writing, but the core idea remains.
As a general rule, you'll see a lot more variety of evil creatures than good ones, in terms of combat statistics, because you don't need a
ton of options to fulfill the three points above. Named leaders, basic footsoldiers, and a handful of higher-tier specialized units are all you really need.
And, of course, this is completely ignoring the obvious answer: Some parties of PCs are evil, and will thus have no problem fighting the forces of Good.