Every monolith rewrite we've done, the real work wasn't the code. It was finding out what the old system actually did, because nobody knew anymore. Half the "bugs" turned out to be load-bearing.
How do you tell a bug from a feature in a system older than everyone maintaining it?