Preheat your oven to 400°F (200°C).
Season the beef tenderloin generously with salt and pepper.
Heat olive oil in a large skillet over medium-high heat.
Sear the tenderloin on all sides until browned (about 3-4 minutes per side).
Add minced garlic, rosemary, and thyme to the skillet.
Transfer the skillet to the preheated oven and roast for 20-25 minutes.
Use a meat thermometer to check for doneness (medium-rare is 135°F).
Remove the tenderloin from the oven and let it rest for 10 minutes.
Meanwhile, deglaze the skillet with red wine, scraping up browned bits.
Stir in butter until melted and sauce thickens, then slice the tenderloin and serve with the sauce.