Any large program is composed of libraries. They may not explicitly be described as libraries, or imported from external sources, but there will be abstraction boundaries somewhere.
Which means that if you're writing a program, you probably are also writing one or more libraries.