me and my boyfriend broke up

Keeee
So me and him been friends for 6 years and we decided to take it to a relationship and it didn't work out and he even said if it don't work out we can still be friends well now he decided that we can't be friends anymore because he wants to try and get over me but isn't that messed up of him after he said we can always be friends know matter what Like I'm lost and hurt I understand his hurt to but I am too smh idk what to do guys