Congress created the DOJ, which the FBI is part of.
Congress could end them both.
https://www.justice.gov/about