If you care less about building muscle, you might as well quit now. You will NOT get much stronger if you don't build muscle.
5 rep sets are the best bang for your buck in strength and muscle mass. Been proven for years.
However, I'd like to make a suggestion to you: find a baseline. What I mean is find a weight you can handle for 5 reps at any given point during your training. My baseline is 70%ish of my max for a set of 5. I may do that for 1-5 sets depending on my goal for that session or how the weight is moving. Always hit that number in every workout, then go from there.
My last two workouts looked like this on the bench:
1. Worked up to 285x5 then triples at 325/355/365 raw.
2. Worked up to 285x5 325x3 then added the Magnum and went triples at 375/415/435/455.
Find your baseline and work from there. Your baseline will always make you stronger and more muscular. It's boring and its work but its very necessary work. You might have a bad day and just hit your baseline and go home, but at least you put in work that works.
Follow principles, not programs.