Longer than this: certainly in the UK things were not in a good state before the pandemic started in early 2019.
I know at least one person who was a software dev who was worked very little over the last 5 years.
For myself, over that period I noticed almost all work except for government and financial dried up - lucky for me that was my most recent experience.