Even tech repair iMac do mention this
" Known iMac 24″ (M1 2021) Screen Line Defect: Recently, a flood of user reports has surfaced about horizontal lines permanently appearing on the 24-inch M1 iMac’s display after ~2 years of use. Apple hasn’t officially recalled this, but evidence suggests a hardware design flaw. Technicians discovered that a flex cable in the display carries high voltage (around 50V at full brightness) and tends to overheat and burn out over time, causing short-circuits that produce black horizontal lines. Unfortunately, the only reliable fix for this issue is to replace the entire display assembly, because the cable is bonded to the screen. Apple Support has generally told affected users that an LCD replacement is the solution. However, replacing the screen is costly (often on the order of US $600–$700 for the 24″ iMac), and if the underlying design hasn’t changed, the problem could recur in a couple of years. "
I NEVER use Full brightness. I always set Auto brightness. According from the tech , EVEN you get fix the problem Could Recur in a couple years....
" Known iMac 24″ (M1 2021) Screen Line Defect: Recently, a flood of user reports has surfaced about horizontal lines permanently appearing on the 24-inch M1 iMac’s display after ~2 years of use. Apple hasn’t officially recalled this, but evidence suggests a hardware design flaw. Technicians discovered that a flex cable in the display carries high voltage (around 50V at full brightness) and tends to overheat and burn out over time, causing short-circuits that produce black horizontal lines. Unfortunately, the only reliable fix for this issue is to replace the entire display assembly, because the cable is bonded to the screen. Apple Support has generally told affected users that an LCD replacement is the solution. However, replacing the screen is costly (often on the order of US $600–$700 for the 24″ iMac), and if the underlying design hasn’t changed, the problem could recur in a couple of years. "
I NEVER use Full brightness. I always set Auto brightness. According from the tech , EVEN you get fix the problem Could Recur in a couple years....