Just do the basic arithmetic. Will the diesel save you money? Include fuel cost/gallon, fuel mileage, DEF fluid, fuel filter changes, higher initial purchase price, more oil at oil changes. Normally a diesel may last twice as long as a gas engine but costs twice as much to replace so that is not a reason for a diesel.
With all current clean diesels, there is a lot of additional software and hardware to meet the emission requirements. Much more than a gas engine so more potential failures. To name a few: DEF system, DPF system, fuel filter, swirl valves?, egr with soot, glow plugs etc. If your use is in cold climates that is also more of a problem with diesels compared to gas.
The diesel can be a fine choice if your use fits its application. For most at the current fuel prices, the diesel may not be a good choice. That can change.