am i being too irrational?

ii have been dating my boyfriend for over a year now, but recently the past month whenever he has sex he hasn’t been able to cum but still says it feels good..

so together we wanted to see if it was cause he masturbated often - and once he stopped for a week - and we had sex he was able to cum

am i being irrational if i tell him to stop masturbating? only because i think is affecting our overall sex life - when he cant cum i tend to lose my confidence and i feel shit