This repository contains a list of adb commands to remove bloatware from Samsung Android devices.
It removes all Samsung-related apps, Facebook services, Google apps, etc.
You can still re-install any app you need.
I've only tested this on my personal Samsung Galaxy S9.
Connect your Samsung Android phone to your computer. Verify that adb sees your device and the daemon is running with the following command
adb devices
Enter shell with the following command
adb shell
Once in the device's shell, simply copy and paste all desired commands from commands.txt to remove the package. I encourage researching each package to make sure you don't need it.