A question about floor joists

If you do scab on or sister a joist next to another.
It is always a good idea when there are termites or dry rot to use wood preserve treatment and cut out the rot if you can ?
The wood preserve is like glue and you brush it on.