You started with 10 marbles total. You removed one marble and did not replace it, so you now have 9 marbles. The marble that you removed was NOT a gold marble, so you still have 5 gold marbles.
This means that out of the 9 marbles that you have left, 5 of them are gold.
This means you have a 5/9 chance of drawing a gold marble next.