Gerrymandering would be somewhat curtailed (not nullified, I agree) if most of the people would have supported the opposition. They just don't. In the last General Elections, PAP's margin of victory did shrink from the past but it was still a pretty big margin[0].
[0]: https://en.wikipedia.org/wiki/2020_Singaporean_general_elect...