The age of the device should not create a green line on the screen.
@Sahad11 are you able to add a screenshot so we can see the issue?
Have you tried a wipe of the partition cache.
I am not employed by Samsung nor do I receive any remuneration as a Samsung Members Star.
My device is an S25 Ultra.