Is this okay

My friend we’ve been friends for a long time now so recently him and his gf were getting ready for a baby but they lost it and broke up he told me and needs someone to talk to he wants to talk tonight (we use to well I use to like him we use to do stuff together not anymore I don’t like him like that anymore) he’s been there for me when I’ve gone through stuff so I need to return the favor but the thing is I have a bf and he doesn’t know and my bf doesn’t know either and I know I put this under the wrong group but oh well