Voltage Divider for measuring more than 5V

but i have no clue why it's not working

You didn't post any code. You didn't say what size resistors you are using. You didn't say what the code does, or what it is expected to do. No clue is right.