Europe has an integrated grid. The purpose of this grid is to balance fluctuations. NordLink (https://www.tennet.eu/our-grid/international-connections/nor... ) was explicitly build to access the more than 100 TWh of available pumped water storage in Norway to store wind energy. And I guess Norway is making some money from it. Denmark has an even higher share of wind energy than Germany (70% last week). The Netherlands got 30% of its energy from wind last week, Austria 26%, Poland 25%. France uses German electricity when it is cold in winter and resistance heating is using more energy than they can produce or if they have to shut down some nuclear plants because of security issues (https://www.express.co.uk/news/science/1549986/macron-france... ). They are all pulling the same trick.
Again: Balancing is the purpose of the grid and not "shitting on neighboring countries".