The search question was “where did the money to buy twitter come from?” The answer is in the wiki on Wikipedia.
https://en.m.wikipedia.org/wiki/Acquisition_of_Twitter_by_Elon_Musk#:~:text=The%20funding%20included%20%247%20billion,billion%20in%20equity%20from%2019