My understanding of the meaning behind this bible verse from 1 corinthians 10:23, is that some things may not be against the law (i.e are permissible or lawful) but do not add value to your life or that of others around you. (i.e are not beneficial or expedient.)
For example, smoking cigarettes is not against any country law and neither does the bible take it as a sin, however that doesn’t mean that you should do it because it is not constructive and does not edify the body of christ or make you a better person. In fact, it has negative effects like cancer, bad breath etc.
The explanation of this bible verse as written by Paul is based on the fact that Christianity or the bible (besides the 10 commandments) can not give instructions about each and everything on this earth. Paul also wrote this in the new testament age that gave Christians more freedom. As a result, this verse comes in handy to open up responsible free will to the doers of any action.
“Everything is permissible for me”–but not everything is beneficial. “Everything is permissible for me”–but I will not be mastered by anything. “Food for the stomach and the stomach for food”–but God will destroy them both. The body is not meant for sexual immorality, but for the Lord, and the Lord for the body. – 1 corinthians 10:23