Safeguard covers you from status like poison as well as secondary status like confusion, and it only lasts five turns as you probably already know. It's mainly used to prevent passive damage on wobbuffet or used with moves like outrage so as to prevent the confusion that comes afterwards. It's not the most popular move, but it's still got a few good uses.