The method of concealing internal links from Google, is not a strategy that I have actually ever endorsed or recommended.

However it's a tactic that several Search engine optimizations have an interest in.

https://webi7digital-media.blogspot.com/2021/01/pattern-for-hiding-hyperlinks-from.html