It’s not just Yamato fighting a against Orochi it could also help her develop to be own character Understanding she is not oden but she could be her own person. She did something oden couldn’t do. Carrying on her own goal. To be tough and as legend like oden did.
There is theory why Yamato will be the one who fights orochi is not mine