Having Sex

My boyfriend of 11 years has told me recently that in order to have sex I need to work at turning him on. He stated that the sex life is boring. After he shared this with me I informed I had been bored for a while already, he told me thats my problem, & and I needed to dress up or it figure out. He stated the outcome would not be good if I didn’t make this happen. We both work full time and the struggle after work is real. Feedback please! I thought both partners needs in a relationship was important?