ALL Basic Strategy doubles are offensive, meaning that they have profitable expectation.
Double without thinking twice.
Some splits are defensive, meaning that your equity is negative,
BUT less negative than the alternative plays of hitting or stranding.
For those hands, e.g. 8-8 vs, 10 you should NOT double.