It always comes down to culture and values.
“You can’t turn a cheat into a scientist by making a rule against cheating. The most important “rigor-enhancing practice” is caring about getting things right, and without that, nothing else matters.”
https://www.experimental-history.com/p/shame-them-shun-them-ban-them-beat