Agree with the deadlift thing, it’s one of the “Big Three” of weight lifting exercises.
However, I’ve tried farmer walks and didn’t see much benefit from them. A better exercise to improve grip strength it to open the fingers during wrist curls, when you bring down the barbell/dumbbell and let the weight slip to your fingertips before bringing it back up.