People ask this question because there is no reference to God or the Law in Song of Solomon and it seems explicit in celebrating sexual love. Through the centuries it has been one of the most controversial books in the Bible.
True wisdom requires us to read God’s Word with the goal of practical application, not merely intellectual stimulation.
Song of Solomon is a unique type of poetic Hebrew literature. It exhibits the literary characteristics of something known as a pastoral love song, which is different from allegory, drama, historical narrative, and parable.