Where do you think the money for the funding came from?
Net contributors to the EU, like the UK. We gave the EU more than they spent on us (of course, because there are poorer European countries).
You make it sound like you think EU funding money was a gift from other people. It was them doing us the favour of giving us some of our own money back.
If we choose to, we can spend exactly the same money in exactly the same way. Or we could democratically decide amongst ourselves to do something different with it.