The Declaration of Independence does not have the force of law. That’s the realm of the Constitution.
True; however, just because something is not specifically enumerated in the bill of rights does not preclude it from being a right. Article X makes that clear.
The Declaration does, however, lay out the foundational concept of natural law, that our rights come from God and are thus “unalienable” (blame John Adams for using that awkward version of the word). Thus, we as citizens have the right to rebel against a tyrannical government and replace it. Statutes, and even the Constitution itself, are subordinate to natural law.