Loser childhood friend heroine is apparently a trope in Japan, here are a couple examples:
https://mangadex.org/title/53349/make-heroine-wo-katasetai
https://mangadex.org/title/44510/the-story-of-a-losing-heroine-doing-her-best-to-win
Even an Isekai...