Lard is the key.
Bacon fat is much better.
I always got a kick out of the gals sitting at the dining room table with a huge bowl of the beans and picking out the bad ones prior to cooking them up.
The best way to make refried beans is with an instant pot