Solomon's mother advised him not to give his strength unto women. He ignored this advice and his wives turned away his heart after other gods.
There are many things in this life that are not sinful in and of themselves, but when they are misused they can be deemed as sinful or harmful.
