From Quora: At face value, it means to deal oneself the bottom the card(s) from a deck, which had been placed there as an advantage.

In the metaphorical sense, it means to cheat someone using guile, and dishonest methods.
UD should define the phrase deal from the bottom of the deck.
by Dealmein. August 18, 2017
Get the deal from the bottom of the deck mug.