If that is what you are trying to prove, begin by factoring the as a difference of squares. Then use the Pythagorean identity and the rest should be obvious.
This is your error. We cannot distribute powers over addition or subtraction and, likewise, we cannot "factor out" a power like that. is not necessarily equal to . Instead, convert the secants to cosines: