the sign was false as you can open the door even if you don't have 5000 gold on you.
also you get the message "you win ;)" everytime you die (maybe you stepped into spikes)
if you actually finish the game, you get the message "game over!"
- trust no one!