There is no doubt that there are more libraries written in C/C++, Python and Java than in dialects of Pascal but, that doesn't say anything about their usability.
For Delphi and Lazarus there are a large number of components that allow a programmer to _easily_ implement things that would require a lot of work with any of those languages, with libraries or without.
Also, quite a few of the _useful_ libraries written in C/C++ have bindings for Delphi and FPC. The fact that they are not written in Pascal isn't relevant as long as a Pascal interface for them exists.
Additionally, there are some things that are done faster and more easily with other languages than in Pascal, some of it due to available standard and non-standard libraries and some due to the different slant of the language.
That a lot of "things must be built from the ground up"... well, most things are, even libraries, no matter the language.
As far as Java goes, that's great stuff for someone who has no problem settling for a sluggish and clunky program. Great language for highly deficient portable tools.