The fist portion of parent's post is perhaps controversial, but it's not necessarily mistaken. The scope of the executive's power to purposefully under-enforce laws is a bit of a constitutional conundrum.
Even among the cases on this topic that have made it to SCOTUS, the opinions were pretty well split and no clear doctrines were handed down. Also, most historical examples of this use of executive power were not tested by the judiciary. So, the issue is murky at best.
The second portion of the parent's post is categorically not mistaken. If you've ever lived in a deep red state, you know that AGs are more than willing to spend millions of taxpayer dollars on a hope and a prayer to try and defend blatantly incorrect legal theories. Just because there's no hope of winning a court case doesn't mean that state AGs won't waste millions trying.