Last I checked the default keyboard samsung installs on their phones was collecting what you typed and sharing/selling that data with third parties. I try not to store or access any personal information on my cell phones when i can avoid it, but at a certain point, just having one is enough to seriously compromise your privacy. Strong regulation with real sharp teeth is the only thing that can fix this situation.
https://play.google.com/store/apps/details?id=org.dslul.open...
OpenBoard is a 100% foss keyboard based on AOSP, with no dependency on Google binaries, that respects your privacy.
Once I realized what samsung was doing I switched to AnySoftKeyboard and I'm pretty happy with it. It's got a lot of options.
https://f-droid.org/en/packages/com.menny.android.anysoftkey...
I've tried both anysoftkeyboard and openboard, and liked openboard layout better but wanted swiftkey like support from anysoftkeyboard. Looking at reddit fossdroid I discovered the one fitted me better as a closer to openboard with swiftkey support : FlorisBoard