What can I do to have my boyfriend enjoy hanging out with me more?

My boyfriend and i hangout like 2-3 times a week but i want to hangout more- however he would rather hangout with his friends. i asked him why once and he said it’s because i nag and complain too much. ngl it is true. i do complain and i do nag about him hanging out with his friends more and never taking me out anywhere to eat. so what can i do to have him want to hangout with me more?
What can I do to have my boyfriend enjoy hanging out with me more?
Post Opinion