That's normal across all industries. If there are people who are actually productive for 7 hours per day, they are extreme outliers.
I used to think that I worked 8-10 hours per day. That was until I measured my actual productivity.
I worked as a translator once. When I timed myself, I found that I can translate about 2,000 words in 1 hour. But in a day, I struggle to do more than 5,000 words, no matter how hard I push myself- even though that's just 2.5 hours of work! And if I do 5,000 words every day, I burn out within a week.
I think it’s important to realise that there’s that limit to productivity, so don’t force it if it’s not working. take a break, come back tomorrow, you may find that you’re far more productive even though you’re spending less time “bums on seats”. Somewhat employer dependent
There are plenty of developers who work 7+ hours a work day, plus a little more at nights or on weekends during crunch times. I'm one of these people and every place I've worked has had these people. It's not like all of our work requires intense concentration - sometimes it's just typing or testing.
Sure, there are people who put in very little "real work" by their own admission, and think they are doing just fine. But that's not a luxury afforded to the entire industry