2019 EU's budget was 148m EUR.
Budget overall is used for a mix of growth (e.g. building bridges or other infracstructure), security (border patrol), regional help (e.g. after wildfires). They do a lot https://en.wikipedia.org/wiki/Budget_of_the_European_Union#E...
See eg. https://docs.oracle.com/cd/E19455-01/806-0169/overview-9/ind...
Military spending and the maintenance of armed is still an exclusive competence of member states and will likely remain so even as there's more integration of rapid intervention and peacekeeping HQs within the EU.
Total defence spending across the entire EU is around €200 billion.
The €148 billion does include a security and defence budget of around €44 billion a year, most of which goes to a joint R&D fund (European Defence Fund), the European Peace Facility, and agencies like Europol and Frontex.