'Is adding a scroll eventlistener bad for performance?

Is it true that adding an event listener on scroll like the bellow example is going to fire 1000s events and is bad for performance?

 window.addEventListener('scroll', () => {
     const myDiv = document.querySelector('#my-div')
     if(myDiv) {
         myDiv.style.top = '60px';
     }
     console.log('SCROLLING');
 })


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source