Hi Christian,
Where did you add the code? Can you try this code instead?:
add_action( 'wp_enqueue_scripts', function() {
wp_dequeue_style( 'generate-google-fonts' );
},99 );
Moreover, by default, if you don’t use Google Fonts anywhere in your site, it shouldn’t be loaded.
Are you loading it in the typography module? Can you toggle it off there?
Moreover, if you’re using GenerateBlocks, and using Google fonts in any of the blocks, kindly remove it from there as well.
Hope this clarifies!