> If the invention takes 3 weeks and $0…
…then the patent can be invalidated on the basis that it is obvious.
If the invention is commercially valuable, then invalidating it (or just pretending it doesn’t exist until you get sued, then invalidating it) can make more sense than licensing it.
A related issue is that there are many, many patents that most people (e.g., competitors) mostly ignore, because everyone, including the patent owner, knows that they would be invalidated if challenged.