Dovetails can be obsolete in the sense they aren’t entirely needed depending on how strong the joint needs to be.
Glues can be stronger than the wood in the sense that the surface fibers the glue is adhered to will pull apart and fail before the glue does. That doesn’t mean a glued joint is stronger than one that is dovetailed and glued.
One of the advantages dovetails and things like box joints have is they create more long grain to long grain surface area that can be glued together. That greater area creates a stronger joint than a simple glued butt joint.
The other advantage that dovetail and box joints have is there is continuous wood fibers running into the joint from two directions. Wood fibers are much stronger along their length than they are in separating from each other the way wood in a simple glued joint fails.
In all destructive tests I’ve seen, dovetail joints beat a glued joint by a wide margin. Box joints are a little stronger than dovetails usually. And the greater the number of boxes or dovetails in a joint the stronger it is up to some point. See Matthias Wandel’s destructive test videos.
But that may not matter in a given application if the joint is strong enough, it may not be worth the extra work to create the dovetail or box joint.
As others mentioned it’s a matter of aesthetics and quality too though.