Horrible decision.
No exaggeration to say that evangelical Christianity is potentially as big a menace as Islamism.
This is an example of what it will do if it's given free reign. It's only tempered by democratic norms. If they are non existent, or chipped away, this is always the end goal.
I don't think you can really hit Ghana for being "undemocratic" in this case. They've had a string of more or less fair elections since the 90s, and they've had multiple changes in party control. Fairly similar to the US in that there is a rather strong two-party system, but different in that neither party is supportive of gay rights at all.
Amusingly enough the 2020 election delivered a 137-137 parliamentary split, with one independent. Maximal division.
That’s why alfteich said democratic *norms*. Ghana is a democracy, but not a liberal democracy. The fact that such a law could even pass there means it’s still lacking many important democratic norms that no democracy is complete without.