For anyone who will read this in the future so far this has fixed the problem, I rooted the tablet and flashed lineageOS and no crashes yet :). These are the links that will guide you on how to flash a custom ROM if you want to but be careful there are risks involved.
[link|https://forum.xda-developers.com/t/rom-unofficial-11-eas-sm-t820-sm-t825-2022-05-08-lineageos-18-1-for-galaxy-tab-s3.4293069/|https://forum.xda-developers.com/t/rom-u...|new_window=true]
++[link|https://forum.xda-developers.com/t/newbie-friendly-twrp-and-root-for-samsung-s3-tablet.3885114/page-3#post-86573973|https://forum.xda-developers.com/t/newbi...|new_window=true]++
In the newb friendly guide before installing magisk make sure you install lineageOS and GApps or something similar