In principle, you're right, but try telling that to literally any recruiter or hiring manager. What really blows my mind, is how a couple of 6 month contracts on a resume can invalidate a candidate for future 6 month contract work. To be clear: recruiters hiring candidates for 6 month roles, do not want candidates with 6 month contracts on their resumes. Is that because they're a 'crap hiring manager'? Maybe, but then many hiring managers must be crap, because it's a question I get every time someone sees that I took a 3 month 1099 and two 6 month contracts between 2019-2020. And there are a couple of 6 month full time roles in there, from startups and projects that went sideways. Try explaining that to a nontechnical person.
Personally take a lot of phone calls just to stay abreast of the job landscape, and that's what I see every week. Not that anybody would want a 6 month contract. Just one data point, of course. Would love to be proven wrong. The culture has to change, and it's entrenched.
EDIT: Some (technical) hiring managers can interpret a resume well and will have no problem with your short stints, and will see you for what you are worth. These are the people you really want to talk to in the first place. Just ignore everyone else.