Simple, the answer is programmers do not choose the language just because the language itself is better than others. There are many things in the consideration. For me, these are important:
I'm surprised that Joanna didn't start off by reading the Wikipedia articles, and concerned that this is going to turn into another of those "threads from Hell". But I'm not really here any more, so can just mark everything read if that happens.
I've written quite a lot in the past about the problems in Pascal's design: Wirth rushed it after ill-advisedly resigning from the ALGOL-68 committee, but was possibly maneuvered into that position by McCarthy. He based it on his ALGOL-W compiler which used recursive ascent, and as such while he was able to modify the syntax to a sufficient extent to break compatibility with ALGOL there were some things he couldn't manage in the timescale he thought available, e.g. if-then-else expressions. His later implementations used recursive descent, which is much more maintainable.
Apart from that I agree fully with Handoko but would throw in a little more history.
First, it's important to distinguish between Modula, which leaves few surviving traces, and Modula-2.
Turbo Pascal was rapidly and unexpectedly popular, but modifications to Pascal by UCSD and Borland messed up the language in various ways. Perhaps in recognition of this, Borland found themselves with an 8-bit Modula-2 that they preferred not to distribute. My understanding is that they licensed it to Echelon- Steve Ciarcia's company- in the 1980s, but he found it unsellable because they wouldn't license the manuals.
Niels Jensen, possibly with others, bought themselves out of Borland and founded JPI, which sold TopSpeed Modula-2 for DOS. Their George Barwood then did a binary patch on that to prevent segment registers being used for temporary storage, and used that to bootstrap v2 which supported OS/2 (in competition with Logitech's compiler etc.). In fairly short order they expanded that to v3 which also supported Pascal, C, C++ and the Clarion language- although the last of those wasn't really public- which targeted DOS, OS/2 and Windows. They attempted to expand to the USA, something went badly wrong (I believe I know what, but can't discuss it since if I'm wrong it will be libellous) and were bought by Clarion whereupon the JPI range vanished.
The perceptive reader will obviously see the parallel to the way that Embarcadero bought Codegear (nee Borland) for the sake of a development tool they used heavily in-house.
Modula-2 was used fairly heavily for embedded work since Ada was considered unworkable on account of its requirement for a "big" development system, there were various derivatives. I introduced it to Jim Cooling who wrote a couple of books and had a string of Saudi students using it.
Wirth had by then moved on to Oberon (the language) and Oberon (the operating system). But Hell, that's what academics do: once there's no more scope for paper publication they've got to find something new.
MarkMLl