Although Galaxy s8 no longer received updates, may not have deprived it of having a good selective focus, in my opinion, because other Samsung phone with lower grade has a better selective focus
I'm sure you're comparing you S8's selective focus feature with newer mid-range phones. Your phone is over 3 years old and that camera is showing its age! Sorry mate but it is time to upgrade!