Searching on Sapphire Nitro RX 470 there is an OC edition that has DP and HDMI ports. That card is part number 11256-10-20G.
However there is also a Mining Edition card part number 11256-31-21G which is DVI-only. Some other versions of Mining Edition cards have no outputs at all.
It seems you purchased one of the linked used mining card.
Ryzen R7 5700X | B550 Gaming X | 2x16GB G.Skill 3600 | Radeon RX 7900XT
Ryzen R7 5700G | B550 Gaming X | 2x8GB G.Skill 4000 | Radeon Vega 8 IGP
Ryzen R5 5600 | B550 Gaming Edge | 4x8GB G.Skill 3600 | Radeon RX 6800XT