In the end of Captain Marvel, she leaves the Tesseract on Earth. Also, Yon-Rogg (Jude Law) the Kree mentor to Brie Larson, calls Ronan the Accuser to invade Earth since Brie Larson left with the immigrant shapeshifters (Skrulls) she saved from the Kree Starforce. This kicks off the first Avengers movie where the invasion begins and much world wide destruction, and later ends with Thanos coming to Earth himself to get the stones, which causes half the planet's population to turn to dust. All thanks to Brie Larson, who would rather help lying shapeshifting immigrants than protect the Earth. No wonder she never showed up during the Avengers. It was all her fault!