Preheat your oven to 375℉. In a large heavy-bottomed, oven-safe skillet over high heat, warm up the avocado oil. Season your beef tenderloin generously with salt and pepper.
Add the seasoned beef tenderloin to the hot skillet and cook for about 3–4 minutes on all sides until nicely browned. Once browned, remove it from the pan and set it aside.
With the heat reduced to medium-low, add sliced yellow onions and minced rosemary to the skillet. Cook for about one minute or until they turn lightly golden.
Next, add brown sugar, apple cider vinegar, Dijon mustard, and diced peaches to your onion mixture in the skillet. Stir everything together until combined, then remove from heat.
Return your seared beef tenderloin back into the pan with that gorgeous peach mixture. Transfer everything to your preheated oven and bake for about 10 minutes or until an internal temperature of 145℉ is reached.
After taking it out from the oven, let your beef rest for about 5–10 minutes before slicing it up.