Yes, Star Trek: Deep Space nine is a fantasy.
It is an accurate take on human nature... a take which could be found in many other quotes taken from actual humans or actual human history or actual human accounts of disasters involving humans.
You do know why there are no muslims in the Star Trek universe, don’t you?