I watched today with my kids this movie. There is a lot of good lessons to learn: listen to God, obey His commands, listen to other people, don’t go with your feelings..., there’s going to be consequences.
I would say, not very close to Biblical story, but not too far away:). I would recommend to read first and then - to watch the movie!