You know when some tools have a section When to use X and When not to use X ? (e.g.
https://htmx.org/essays/when-to-use-hypermedia/). Management frameworks like Scrum should have the same, and should not be followed blindly. There are specific historical contexts and reasons why they were invented and those should not be ignored.
So, when is Scrum a good fit, and when is it not?