That said, laws generally permit some leeway to the executive to set spending priorities/focus. It can be pretty limited since Congress tends to specify what department and sometimes program money must be spent on, but it still it allows for things like deciding you're going to prosecute more drug dealers even though they're long shot cases rather than easier to win fraud causes. This is done at all levels of government.
Shifting spending priorities as the law allows, though, is rather different from actively breaking the law.